|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.openejb.jee.FacesListEntries
public class FacesListEntries
The "list-entries" element represents a set of initialization elements for a managed property that is a java.util.List or an array. In the former case, the "value-class" element can optionally be used to declare the Java type to which each value should be converted before adding it to the Collection.
Java class for faces-config-list-entriesType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="faces-config-list-entriesType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="value-class" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <choice maxOccurs="unbounded" minOccurs="0"> <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"/> </choice> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
Field Summary | |
---|---|
protected String |
id
|
protected List<Object> |
nullValueOrValue
|
protected String |
valueClass
|
Constructor Summary | |
---|---|
FacesListEntries()
|
Method Summary | |
---|---|
String |
getId()
Gets the value of the id property. |
List<Object> |
getNullValueOrValue()
Gets the value of the nullValueOrValue property. |
String |
getValueClass()
Gets the value of the valueClass property. |
void |
setId(String value)
Sets the value of the id property. |
void |
setValueClass(String value)
Sets the value of the valueClass property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String valueClass
protected List<Object> nullValueOrValue
protected String id
Constructor Detail |
---|
public FacesListEntries()
Method Detail |
---|
public String getValueClass()
String
public void setValueClass(String value)
value
- allowed object is
String
public List<Object> getNullValueOrValue()
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 nullValueOrValue property.
For example, to add a new item, do as follows:
getNullValueOrValue().add(newItem);
Objects of the following type(s) are allowed in the list
String
FacesNullValue
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 |