Package org.apache.openejb.jee
Class FacesProperty
- java.lang.Object
-
- org.apache.openejb.jee.FacesProperty
-
public class FacesProperty extends Object
web-facesconfig_2_0.xsdJava class for faces-config-propertyType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="faces-config-propertyType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/> <element name="property-name" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="property-class" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="default-value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="suggested-value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="property-extension" type="{http://java.sun.com/xml/ns/javaee}faces-config-property-extensionType" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected StringdefaultValueprotected TextMapdescriptionprotected TextMapdisplayNameprotected LocalCollection<Icon>iconprotected Stringidprotected StringpropertyClassprotected List<FacesPropertyExtension>propertyExtensionprotected StringpropertyNameprotected StringsuggestedValue
-
Constructor Summary
Constructors Constructor Description FacesProperty()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDefaultValue()Gets the value of the defaultValue property.StringgetDescription()Text[]getDescriptions()StringgetDisplayName()Text[]getDisplayNames()IcongetIcon()Map<String,Icon>getIconMap()Collection<Icon>getIcons()StringgetId()Gets the value of the id property.StringgetPropertyClass()Gets the value of the propertyClass property.List<FacesPropertyExtension>getPropertyExtension()Gets the value of the propertyExtension property.StringgetPropertyName()Gets the value of the propertyName property.StringgetSuggestedValue()Gets the value of the suggestedValue property.voidsetDefaultValue(String value)Sets the value of the defaultValue property.voidsetDescriptions(Text[] text)voidsetDisplayNames(Text[] text)voidsetId(String value)Sets the value of the id property.voidsetPropertyClass(String value)Sets the value of the propertyClass property.voidsetPropertyName(String value)Sets the value of the propertyName property.voidsetSuggestedValue(String value)Sets the value of the suggestedValue property.
-
-
-
Field Detail
-
description
protected TextMap description
-
displayName
protected TextMap displayName
-
icon
protected LocalCollection<Icon> icon
-
propertyName
protected String propertyName
-
propertyClass
protected String propertyClass
-
defaultValue
protected String defaultValue
-
suggestedValue
protected String suggestedValue
-
propertyExtension
protected List<FacesPropertyExtension> propertyExtension
-
id
protected String id
-
-
Method Detail
-
getDescriptions
public Text[] getDescriptions()
-
setDescriptions
public void setDescriptions(Text[] text)
-
getDescription
public String getDescription()
-
getDisplayNames
public Text[] getDisplayNames()
-
setDisplayNames
public void setDisplayNames(Text[] text)
-
getDisplayName
public String getDisplayName()
-
getIcons
public Collection<Icon> getIcons()
-
getIcon
public Icon getIcon()
-
getPropertyName
public String getPropertyName()
Gets the value of the propertyName property.- Returns:
- possible object is
String
-
setPropertyName
public void setPropertyName(String value)
Sets the value of the propertyName property.- Parameters:
value- allowed object isString
-
getPropertyClass
public String getPropertyClass()
Gets the value of the propertyClass property.- Returns:
- possible object is
String
-
setPropertyClass
public void setPropertyClass(String value)
Sets the value of the propertyClass property.- Parameters:
value- allowed object isString
-
getDefaultValue
public String getDefaultValue()
Gets the value of the defaultValue property.- Returns:
- possible object is
String
-
setDefaultValue
public void setDefaultValue(String value)
Sets the value of the defaultValue property.- Parameters:
value- allowed object isString
-
getSuggestedValue
public String getSuggestedValue()
Gets the value of the suggestedValue property.- Returns:
- possible object is
String
-
setSuggestedValue
public void setSuggestedValue(String value)
Sets the value of the suggestedValue property.- Parameters:
value- allowed object isString
-
getPropertyExtension
public List<FacesPropertyExtension> getPropertyExtension()
Gets the value of the propertyExtension property. This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not asetmethod for the propertyExtension property. For example, to add a new item, do as follows:getPropertyExtension().add(newItem);Objects of the following type(s) are allowed in the listFacesPropertyExtension
-
-