|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openejb.jee.FacesMapEntries
public class FacesMapEntries
The "map-entries' element represents a set of key-entry pairs that will be added to the computed value of a managed property of type java.util.Map. In addition, the Java class types of the key and entry values may be optionally declared.
Java class for faces-config-map-entriesType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="faces-config-map-entriesType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="key-class" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="value-class" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="map-entry" type="{http://java.sun.com/xml/ns/javaee}faces-config-map-entryType" 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 |
id
|
protected java.lang.String |
keyClass
|
protected java.util.List<FacesMapEntry> |
mapEntry
|
protected java.lang.String |
valueClass
|
| Constructor Summary | |
|---|---|
FacesMapEntries()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getId()
Gets the value of the id property. |
java.lang.String |
getKeyClass()
Gets the value of the keyClass property. |
java.util.List<FacesMapEntry> |
getMapEntry()
Gets the value of the mapEntry property. |
java.lang.String |
getValueClass()
Gets the value of the valueClass property. |
void |
setId(java.lang.String value)
Sets the value of the id property. |
void |
setKeyClass(java.lang.String value)
Sets the value of the keyClass property. |
void |
setValueClass(java.lang.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 java.lang.String keyClass
protected java.lang.String valueClass
protected java.util.List<FacesMapEntry> mapEntry
protected java.lang.String id
| Constructor Detail |
|---|
public FacesMapEntries()
| Method Detail |
|---|
public java.lang.String getKeyClass()
Stringpublic void setKeyClass(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getValueClass()
Stringpublic void setValueClass(java.lang.String value)
value - allowed object is
Stringpublic java.util.List<FacesMapEntry> getMapEntry()
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 mapEntry property.
For example, to add a new item, do as follows:
getMapEntry().add(newItem);
Objects of the following type(s) are allowed in the list
FacesMapEntry
public java.lang.String getId()
Stringpublic void setId(java.lang.String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||