ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.facesconfig21
Interface FacesConfigPropertyType<T>

All Superinterfaces:
Child<T>

public interface FacesConfigPropertyType<T>
extends Child<T>

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

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

Method Summary
 IconType<FacesConfigPropertyType<T>> createIcon()
          Creates a new icon element
 FacesConfigPropertyType<T> defaultValue(String defaultValue)
          Sets the default-value element
 FacesConfigPropertyType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 FacesConfigPropertyType<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<FacesConfigPropertyType<T>>> getAllIcon()
          Returns all icon elements
 String getDefaultValue()
          Returns the default-value element
 IconType<FacesConfigPropertyType<T>> getOrCreateIcon()
          If not already created, a new icon element will be created and returned.
 String getPropertyClass()
          Returns the property-class element
 String getPropertyName()
          Returns the property-name element
 String getSuggestedValue()
          Returns the suggested-value element
 Boolean isPropertyExtension()
          Removes the property-extension element
 FacesConfigPropertyType<T> propertyClass(String propertyClass)
          Sets the property-class element
 FacesConfigPropertyType<T> propertyExtension()
          Sets the property-extension element
 FacesConfigPropertyType<T> propertyName(String propertyName)
          Sets the property-name element
 FacesConfigPropertyType<T> removeAllDescription()
          Removes the description element
 FacesConfigPropertyType<T> removeAllDisplayName()
          Removes the display-name element
 FacesConfigPropertyType<T> removeAllIcon()
          Removes all icon elements
 FacesConfigPropertyType<T> removeDefaultValue()
          Removes the default-value element
 FacesConfigPropertyType<T> removePropertyClass()
          Removes the property-class element
 FacesConfigPropertyType<T> removePropertyExtension()
          Removes the property-extension element
 FacesConfigPropertyType<T> removePropertyName()
          Removes the property-name element
 FacesConfigPropertyType<T> removeSuggestedValue()
          Removes the suggested-value element
 FacesConfigPropertyType<T> suggestedValue(String suggestedValue)
          Sets the suggested-value element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

FacesConfigPropertyType<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 FacesConfigPropertyType

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

FacesConfigPropertyType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of FacesConfigPropertyType

displayName

FacesConfigPropertyType<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 FacesConfigPropertyType

getAllDisplayName

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

Returns:
list of display-name

removeAllDisplayName

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

Returns:
the current instance of FacesConfigPropertyType

getOrCreateIcon

IconType<FacesConfigPropertyType<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<FacesConfigPropertyType<T>> createIcon()
Creates a new icon element

Returns:
the new created instance of IconType>

getAllIcon

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

Returns:
list of icon

removeAllIcon

FacesConfigPropertyType<T> removeAllIcon()
Removes all icon elements

Returns:
the current instance of IconType>

propertyName

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

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

getPropertyName

String getPropertyName()
Returns the property-name element

Returns:
the node defined for the element property-name

removePropertyName

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

Returns:
the current instance of FacesConfigPropertyType

propertyClass

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

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

getPropertyClass

String getPropertyClass()
Returns the property-class element

Returns:
the node defined for the element property-class

removePropertyClass

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

Returns:
the current instance of FacesConfigPropertyType

defaultValue

FacesConfigPropertyType<T> defaultValue(String defaultValue)
Sets the default-value element

Parameters:
defaultValue - the value for the element default-value
Returns:
the current instance of FacesConfigPropertyType

getDefaultValue

String getDefaultValue()
Returns the default-value element

Returns:
the node defined for the element default-value

removeDefaultValue

FacesConfigPropertyType<T> removeDefaultValue()
Removes the default-value element

Returns:
the current instance of FacesConfigPropertyType

suggestedValue

FacesConfigPropertyType<T> suggestedValue(String suggestedValue)
Sets the suggested-value element

Parameters:
suggestedValue - the value for the element suggested-value
Returns:
the current instance of FacesConfigPropertyType

getSuggestedValue

String getSuggestedValue()
Returns the suggested-value element

Returns:
the node defined for the element suggested-value

removeSuggestedValue

FacesConfigPropertyType<T> removeSuggestedValue()
Removes the suggested-value element

Returns:
the current instance of FacesConfigPropertyType

propertyExtension

FacesConfigPropertyType<T> propertyExtension()
Sets the property-extension element

Returns:
the current instance of FacesConfigPropertyType

isPropertyExtension

Boolean isPropertyExtension()
Removes the property-extension element

Returns:
the current instance of FacesConfigPropertyType

removePropertyExtension

FacesConfigPropertyType<T> removePropertyExtension()
Removes the property-extension element

Returns:
the current instance of FacesConfigPropertyType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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