net.sourceforge.ccxjc.it.model.prot.collections.valueclass.javaee
Class FacesConfigMapEntriesType

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.prot.collections.valueclass.javaee.FacesConfigMapEntriesType
All Implemented Interfaces:
Serializable, Cloneable

public class FacesConfigMapEntriesType
extends Object
implements Serializable, Cloneable

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://java.sun.com/xml/ns/javaee}fully-qualified-classType" minOccurs="0"/>
         <element name="value-class" type="{http://java.sun.com/xml/ns/javaee}faces-config-value-classType" 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>
 

See Also:
Serialized Form

Field Summary
protected  String id
           
protected  FullyQualifiedClassType keyClass
           
protected  List<FacesConfigMapEntryType> mapEntry
           
protected  FacesConfigValueClassType valueClass
           
 
Constructor Summary
FacesConfigMapEntriesType()
          Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.javaee.FacesConfigMapEntriesType instance.
FacesConfigMapEntriesType(FacesConfigMapEntriesType o)
          Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.javaee.FacesConfigMapEntriesType instance by copying a given instance.
 
Method Summary
 FacesConfigMapEntriesType clone()
          Creates and returns a copy of this object.
protected static void copyMapEntry(List<FacesConfigMapEntryType> source, List<FacesConfigMapEntryType> target)
          Copies all values of property MapEntry.
 String getId()
          Gets the value of the id property.
 FullyQualifiedClassType getKeyClass()
          Gets the value of the keyClass property.
 List<FacesConfigMapEntryType> getMapEntry()
          Gets the value of the mapEntry property.
 FacesConfigValueClassType getValueClass()
          Gets the value of the valueClass property.
 void setId(String value)
          Sets the value of the id property.
 void setKeyClass(FullyQualifiedClassType value)
          Sets the value of the keyClass property.
 void setValueClass(FacesConfigValueClassType value)
          Sets the value of the valueClass property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

keyClass

protected FullyQualifiedClassType keyClass

valueClass

protected FacesConfigValueClassType valueClass

mapEntry

protected List<FacesConfigMapEntryType> mapEntry

id

protected String id
Constructor Detail

FacesConfigMapEntriesType

public FacesConfigMapEntriesType()
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.javaee.FacesConfigMapEntriesType instance.


FacesConfigMapEntriesType

public FacesConfigMapEntriesType(FacesConfigMapEntriesType o)
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.javaee.FacesConfigMapEntriesType instance by copying a given instance.

Parameters:
o - The instance to copy or null.
Method Detail

getKeyClass

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

Returns:
possible object is FullyQualifiedClassType

setKeyClass

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

Parameters:
value - allowed object is FullyQualifiedClassType

getValueClass

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

Returns:
possible object is FacesConfigValueClassType

setValueClass

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

Parameters:
value - allowed object is FacesConfigValueClassType

getMapEntry

public List<FacesConfigMapEntryType> 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 FacesConfigMapEntryType


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

copyMapEntry

protected static void copyMapEntry(List<FacesConfigMapEntryType> source,
                                   List<FacesConfigMapEntryType> target)
Copies all values of property MapEntry.

Parameters:
target - The target to copy source to.
source - The source to copy from.
Throws:
NullPointerException - if source or target is null.

clone

public FacesConfigMapEntriesType clone()
Creates and returns a copy of this object.

Overrides:
clone in class Object
Returns:
A clone of this instance.


Copyright © 2009 The CC-XJC Community. All Rights Reserved.