ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.facesconfig20
Interface FacesConfigManagedPropertyType<T>

All Superinterfaces:
Child<T>

public interface FacesConfigManagedPropertyType<T>
extends Child<T>

This interface defines the contract for the faces-config-managed-propertyType xsd type

Since:
Generation date :2012-05-09T23:45:03.702-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 IconType<FacesConfigManagedPropertyType<T>> createIcon()
          Creates a new icon element
 FacesConfigManagedPropertyType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 FacesConfigManagedPropertyType<T> displayName(String... values)
          Creates for all String objects representing display-name elements, a new display-name element
 List<String> getAllDescription()
          Returns all description elements
 List<String> getAllDisplayName()
          Returns all display-name elements
 List<IconType<FacesConfigManagedPropertyType<T>>> getAllIcon()
          Returns all icon elements
 IconType<FacesConfigManagedPropertyType<T>> getOrCreateIcon()
          If not already created, a new icon element will be created and returned.
 FacesConfigListEntriesType<FacesConfigManagedPropertyType<T>> getOrCreateListEntries()
          If not already created, a new list-entries element with the given value will be created.
 FacesConfigMapEntriesType<FacesConfigManagedPropertyType<T>> getOrCreateMapEntries()
          If not already created, a new map-entries element with the given value will be created.
 String getPropertyClass()
          Returns the property-class element
 String getPropertyName()
          Returns the property-name element
 String getValue()
          Returns the value element
 Boolean isNullValue()
          Removes the null-value element
 FacesConfigManagedPropertyType<T> nullValue()
          Sets the null-value element
 FacesConfigManagedPropertyType<T> propertyClass(String propertyClass)
          Sets the property-class element
 FacesConfigManagedPropertyType<T> propertyName(String propertyName)
          Sets the property-name element
 FacesConfigManagedPropertyType<T> removeAllDescription()
          Removes the description element
 FacesConfigManagedPropertyType<T> removeAllDisplayName()
          Removes the display-name element
 FacesConfigManagedPropertyType<T> removeAllIcon()
          Removes all icon elements
 FacesConfigManagedPropertyType<T> removeListEntries()
          Removes the list-entries element
 FacesConfigManagedPropertyType<T> removeMapEntries()
          Removes the map-entries element
 FacesConfigManagedPropertyType<T> removeNullValue()
          Removes the null-value element
 FacesConfigManagedPropertyType<T> removePropertyClass()
          Removes the property-class element
 FacesConfigManagedPropertyType<T> removePropertyName()
          Removes the property-name element
 FacesConfigManagedPropertyType<T> removeValue()
          Removes the value element
 FacesConfigManagedPropertyType<T> value(String value)
          Sets the value element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

FacesConfigManagedPropertyType<T> description(String... values)
Creates for all String objects representing description elements, a new description element

Parameters:
values - list of description objects
Returns:
the current instance of FacesConfigManagedPropertyType

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

FacesConfigManagedPropertyType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of FacesConfigManagedPropertyType

displayName

FacesConfigManagedPropertyType<T> displayName(String... values)
Creates for all String objects representing display-name elements, a new display-name element

Parameters:
values - list of display-name objects
Returns:
the current instance of FacesConfigManagedPropertyType

getAllDisplayName

List<String> getAllDisplayName()
Returns all display-name elements

Returns:
list of display-name

removeAllDisplayName

FacesConfigManagedPropertyType<T> removeAllDisplayName()
Removes the display-name element

Returns:
the current instance of FacesConfigManagedPropertyType

getOrCreateIcon

IconType<FacesConfigManagedPropertyType<T>> getOrCreateIcon()
If not already created, a new icon element will be created and returned. Otherwise, the first existing icon element will be returned.

Returns:
the instance defined for the element icon

createIcon

IconType<FacesConfigManagedPropertyType<T>> createIcon()
Creates a new icon element

Returns:
the new created instance of IconType>

getAllIcon

List<IconType<FacesConfigManagedPropertyType<T>>> getAllIcon()
Returns all icon elements

Returns:
list of icon

removeAllIcon

FacesConfigManagedPropertyType<T> removeAllIcon()
Removes all icon elements

Returns:
the current instance of IconType>

propertyName

FacesConfigManagedPropertyType<T> propertyName(String propertyName)
Sets the property-name element

Parameters:
propertyName - the value for the element property-name
Returns:
the current instance of FacesConfigManagedPropertyType

getPropertyName

String getPropertyName()
Returns the property-name element

Returns:
the node defined for the element property-name

removePropertyName

FacesConfigManagedPropertyType<T> removePropertyName()
Removes the property-name element

Returns:
the current instance of FacesConfigManagedPropertyType

propertyClass

FacesConfigManagedPropertyType<T> propertyClass(String propertyClass)
Sets the property-class element

Parameters:
propertyClass - the value for the element property-class
Returns:
the current instance of FacesConfigManagedPropertyType

getPropertyClass

String getPropertyClass()
Returns the property-class element

Returns:
the node defined for the element property-class

removePropertyClass

FacesConfigManagedPropertyType<T> removePropertyClass()
Removes the property-class element

Returns:
the current instance of FacesConfigManagedPropertyType

getOrCreateMapEntries

FacesConfigMapEntriesType<FacesConfigManagedPropertyType<T>> getOrCreateMapEntries()
If not already created, a new map-entries element with the given value will be created. Otherwise, the existing map-entries element will be returned.

Returns:
a new or existing instance of FacesConfigMapEntriesType>

removeMapEntries

FacesConfigManagedPropertyType<T> removeMapEntries()
Removes the map-entries element

Returns:
the current instance of FacesConfigManagedPropertyType

nullValue

FacesConfigManagedPropertyType<T> nullValue()
Sets the null-value element

Returns:
the current instance of FacesConfigManagedPropertyType

isNullValue

Boolean isNullValue()
Removes the null-value element

Returns:
the current instance of FacesConfigManagedPropertyType

removeNullValue

FacesConfigManagedPropertyType<T> removeNullValue()
Removes the null-value element

Returns:
the current instance of FacesConfigManagedPropertyType

value

FacesConfigManagedPropertyType<T> value(String value)
Sets the value element

Parameters:
value - the value for the element value
Returns:
the current instance of FacesConfigManagedPropertyType

getValue

String getValue()
Returns the value element

Returns:
the node defined for the element value

removeValue

FacesConfigManagedPropertyType<T> removeValue()
Removes the value element

Returns:
the current instance of FacesConfigManagedPropertyType

getOrCreateListEntries

FacesConfigListEntriesType<FacesConfigManagedPropertyType<T>> getOrCreateListEntries()
If not already created, a new list-entries element with the given value will be created. Otherwise, the existing list-entries element will be returned.

Returns:
a new or existing instance of FacesConfigListEntriesType>

removeListEntries

FacesConfigManagedPropertyType<T> removeListEntries()
Removes the list-entries element

Returns:
the current instance of FacesConfigManagedPropertyType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.