org.apache.openejb.jee
Class FacesManagedProperty

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

public class FacesManagedProperty
extends Object

The "managed-property" element represents an individual property of a managed bean that will be configured to the specified value (or value set) if the corresponding managed bean is automatically created.

Java class for faces-config-managed-propertyType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="faces-config-managed-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" minOccurs="0"/>
         <choice>
           <element name="map-entries" type="{http://java.sun.com/xml/ns/javaee}faces-config-map-entriesType"/>
           <element name="null-value" type="{http://java.sun.com/xml/ns/javaee}faces-config-null-valueType"/>
           <element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/>
           <element name="list-entries" type="{http://java.sun.com/xml/ns/javaee}faces-config-list-entriesType"/>
         </choice>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<DescriptionType> description
           
protected  List<String> displayName
           
protected  List<Icon> icon
           
protected  String id
           
protected  FacesListEntries listEntries
           
protected  FacesMapEntries mapEntries
           
protected  FacesNullValue nullValue
           
protected  String propertyClass
           
protected  String propertyName
           
protected  String value
           
 
Constructor Summary
FacesManagedProperty()
           
 
Method Summary
 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.
 FacesListEntries getListEntries()
          Gets the value of the listEntries property.
 FacesMapEntries getMapEntries()
          Gets the value of the mapEntries property.
 FacesNullValue getNullValue()
          Gets the value of the nullValue property.
 String getPropertyClass()
          Gets the value of the propertyClass property.
 String getPropertyName()
          Gets the value of the propertyName property.
 String getValue()
          Gets the value of the value property.
 void setId(String value)
          Sets the value of the id property.
 void setListEntries(FacesListEntries value)
          Sets the value of the listEntries property.
 void setMapEntries(FacesMapEntries value)
          Sets the value of the mapEntries property.
 void setNullValue(FacesNullValue value)
          Sets the value of the nullValue property.
 void setPropertyClass(String value)
          Sets the value of the propertyClass property.
 void setPropertyName(String value)
          Sets the value of the propertyName property.
 void setValue(String value)
          Sets the value of the value property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected List<DescriptionType> description

displayName

protected List<String> displayName

icon

protected List<Icon> icon

propertyName

protected String propertyName

propertyClass

protected String propertyClass

mapEntries

protected FacesMapEntries mapEntries

nullValue

protected FacesNullValue nullValue

value

protected String value

listEntries

protected FacesListEntries listEntries

id

protected String id
Constructor Detail

FacesManagedProperty

public FacesManagedProperty()
Method Detail

getDescription

public 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 List<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 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 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 is String

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 is String

getMapEntries

public FacesMapEntries getMapEntries()
Gets the value of the mapEntries property.

Returns:
possible object is FacesMapEntries

setMapEntries

public void setMapEntries(FacesMapEntries value)
Sets the value of the mapEntries property.

Parameters:
value - allowed object is FacesMapEntries

getNullValue

public FacesNullValue getNullValue()
Gets the value of the nullValue property.

Returns:
possible object is FacesNullValue

setNullValue

public void setNullValue(FacesNullValue value)
Sets the value of the nullValue property.

Parameters:
value - allowed object is FacesNullValue

getValue

public String getValue()
Gets the value of the value property.

Returns:
possible object is String

setValue

public void setValue(String value)
Sets the value of the value property.

Parameters:
value - allowed object is String

getListEntries

public FacesListEntries getListEntries()
Gets the value of the listEntries property.

Returns:
possible object is FacesListEntries

setListEntries

public void setListEntries(FacesListEntries value)
Sets the value of the listEntries property.

Parameters:
value - allowed object is FacesListEntries

getId

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

Returns:
possible object is String

setId

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

Parameters:
value - allowed object is String


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