org.apache.openejb.jee
Class FacesMapEntries

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

public class FacesMapEntries
extends Object

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  String id
           
protected  String keyClass
           
protected  List<FacesMapEntry> mapEntry
           
protected  String valueClass
           
 
Constructor Summary
FacesMapEntries()
           
 
Method Summary
 String getId()
          Gets the value of the id property.
 String getKeyClass()
          Gets the value of the keyClass property.
 List<FacesMapEntry> getMapEntry()
          Gets the value of the mapEntry property.
 String getValueClass()
          Gets the value of the valueClass property.
 void setId(String value)
          Sets the value of the id property.
 void setKeyClass(String value)
          Sets the value of the keyClass 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

keyClass

protected String keyClass

valueClass

protected String valueClass

mapEntry

protected List<FacesMapEntry> mapEntry

id

protected String id
Constructor Detail

FacesMapEntries

public FacesMapEntries()
Method Detail

getKeyClass

public String getKeyClass()
Gets the value of the keyClass property.

Returns:
possible object is String

setKeyClass

public void setKeyClass(String value)
Sets the value of the keyClass property.

Parameters:
value - allowed object is String

getValueClass

public String getValueClass()
Gets the value of the valueClass property.

Returns:
possible object is String

setValueClass

public void setValueClass(String value)
Sets the value of the valueClass property.

Parameters:
value - allowed object is String

getMapEntry

public List<FacesMapEntry> getMapEntry()
Gets the value of the mapEntry 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 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


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.