org.apache.openejb.jee
Class FacesProperty

java.lang.Object
  extended by org.apache.openejb.jee.FacesProperty

public class FacesProperty
extends java.lang.Object

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  java.lang.String defaultValue
           
protected  java.util.List<DescriptionType> description
           
protected  java.util.List<java.lang.String> displayName
           
protected  java.util.List<Icon> icon
           
protected  java.lang.String id
           
protected  java.lang.String propertyClass
           
protected  java.util.List<FacesPropertyExtension> propertyExtension
           
protected  java.lang.String propertyName
           
protected  java.lang.String suggestedValue
           
 
Constructor Summary
FacesProperty()
           
 
Method Summary
 java.lang.String getDefaultValue()
          Gets the value of the defaultValue property.
 java.util.List<DescriptionType> getDescription()
          Gets the value of the description property.
 java.util.List<java.lang.String> getDisplayName()
          Gets the value of the displayName property.
 java.util.List<Icon> getIcon()
          Gets the value of the icon property.
 java.lang.String getId()
          Gets the value of the id property.
 java.lang.String getPropertyClass()
          Gets the value of the propertyClass property.
 java.util.List<FacesPropertyExtension> getPropertyExtension()
          Gets the value of the propertyExtension property.
 java.lang.String getPropertyName()
          Gets the value of the propertyName property.
 java.lang.String getSuggestedValue()
          Gets the value of the suggestedValue property.
 void setDefaultValue(java.lang.String value)
          Sets the value of the defaultValue property.
 void setId(java.lang.String value)
          Sets the value of the id property.
 void setPropertyClass(java.lang.String value)
          Sets the value of the propertyClass property.
 void setPropertyName(java.lang.String value)
          Sets the value of the propertyName property.
 void setSuggestedValue(java.lang.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

description

protected java.util.List<DescriptionType> description

displayName

protected java.util.List<java.lang.String> displayName

icon

protected java.util.List<Icon> icon

propertyName

protected java.lang.String propertyName

propertyClass

protected java.lang.String propertyClass

defaultValue

protected java.lang.String defaultValue

suggestedValue

protected java.lang.String suggestedValue

propertyExtension

protected java.util.List<FacesPropertyExtension> propertyExtension

id

protected java.lang.String id
Constructor Detail

FacesProperty

public FacesProperty()
Method Detail

getDescription

public java.util.List<DescriptionType> getDescription()
Gets the value of the description 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 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


getDisplayName

public java.util.List<java.lang.String> getDisplayName()
Gets the value of the displayName 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 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


getIcon

public java.util.List<Icon> getIcon()
Gets the value of the icon 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 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


getPropertyName

public java.lang.String getPropertyName()
Gets the value of the propertyName property.

Returns:
possible object is String

setPropertyName

public void setPropertyName(java.lang.String value)
Sets the value of the propertyName property.

Parameters:
value - allowed object is String

getPropertyClass

public java.lang.String getPropertyClass()
Gets the value of the propertyClass property.

Returns:
possible object is String

setPropertyClass

public void setPropertyClass(java.lang.String value)
Sets the value of the propertyClass property.

Parameters:
value - allowed object is String

getDefaultValue

public java.lang.String getDefaultValue()
Gets the value of the defaultValue property.

Returns:
possible object is String

setDefaultValue

public void setDefaultValue(java.lang.String value)
Sets the value of the defaultValue property.

Parameters:
value - allowed object is String

getSuggestedValue

public java.lang.String getSuggestedValue()
Gets the value of the suggestedValue property.

Returns:
possible object is String

setSuggestedValue

public void setSuggestedValue(java.lang.String value)
Sets the value of the suggestedValue property.

Parameters:
value - allowed object is String

getPropertyExtension

public java.util.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 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


getId

public java.lang.String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(java.lang.String value)
Sets the value of the id property.

Parameters:
value - allowed object is String


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.