|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.openejb.jee.FacesProperty
public class FacesProperty
The "property" element represents a JavaBean property of the Java class represented by our parent element. Property names must be unique within the scope of the Java class that is represented by the parent element, and must correspond to property names that will be recognized when performing introspection against that class via java.beans.Introspector.
Java 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 | |
---|---|
protected String |
defaultValue
|
protected List<DescriptionType> |
description
|
protected List<String> |
displayName
|
protected List<Icon> |
icon
|
protected String |
id
|
protected String |
propertyClass
|
protected List<FacesPropertyExtension> |
propertyExtension
|
protected String |
propertyName
|
protected String |
suggestedValue
|
Constructor Summary | |
---|---|
FacesProperty()
|
Method Summary | |
---|---|
String |
getDefaultValue()
Gets the value of the defaultValue property. |
List<DescriptionType> |
getDescription()
Gets the value of the description property. |
List<String> |
getDisplayName()
Gets the value of the displayName property. |
List<Icon> |
getIcon()
Gets the value of the icon property. |
String |
getId()
Gets the value of the id property. |
String |
getPropertyClass()
Gets the value of the propertyClass property. |
List<FacesPropertyExtension> |
getPropertyExtension()
Gets the value of the propertyExtension property. |
String |
getPropertyName()
Gets the value of the propertyName property. |
String |
getSuggestedValue()
Gets the value of the suggestedValue property. |
void |
setDefaultValue(String value)
Sets the value of the defaultValue property. |
void |
setId(String value)
Sets the value of the id property. |
void |
setPropertyClass(String value)
Sets the value of the propertyClass property. |
void |
setPropertyName(String value)
Sets the value of the propertyName property. |
void |
setSuggestedValue(String value)
Sets the value of the suggestedValue property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected List<DescriptionType> description
protected List<String> displayName
protected List<Icon> icon
protected String propertyName
protected String propertyClass
protected String defaultValue
protected String suggestedValue
protected List<FacesPropertyExtension> propertyExtension
protected String id
Constructor Detail |
---|
public FacesProperty()
Method Detail |
---|
public List<DescriptionType> getDescription()
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 a set
method for the description property.
For example, to add a new item, do as follows:
getDescription().add(newItem);
Objects of the following type(s) are allowed in the list
DescriptionType
public List<String> getDisplayName()
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 a set
method for the displayName property.
For example, to add a new item, do as follows:
getDisplayName().add(newItem);
Objects of the following type(s) are allowed in the list
String
public List<Icon> getIcon()
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 a set
method for the icon property.
For example, to add a new item, do as follows:
getIcon().add(newItem);
Objects of the following type(s) are allowed in the list
Icon
public String getPropertyName()
String
public void setPropertyName(String value)
value
- allowed object is
String
public String getPropertyClass()
String
public void setPropertyClass(String value)
value
- allowed object is
String
public String getDefaultValue()
String
public void setDefaultValue(String value)
value
- allowed object is
String
public String getSuggestedValue()
String
public void setSuggestedValue(String value)
value
- allowed object is
String
public List<FacesPropertyExtension> getPropertyExtension()
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 a set
method 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 list
FacesPropertyExtension
public String getId()
String
public void setId(String value)
value
- allowed object is
String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |