net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.javaee
Class FacesConfigListEntriesType

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.javaee.FacesConfigListEntriesType
All Implemented Interfaces:
Serializable, Cloneable

public class FacesConfigListEntriesType
extends Object
implements Serializable, Cloneable

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://java.sun.com/xml/ns/javaee}faces-config-value-classType" 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://java.sun.com/xml/ns/javaee}faces-config-valueType"/>
         </choice>
       </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  Serializable[] nullValueOrValue
           
protected  FacesConfigValueClassType valueClass
           
 
Constructor Summary
FacesConfigListEntriesType()
          Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.javaee.FacesConfigListEntriesType instance.
FacesConfigListEntriesType(FacesConfigListEntriesType o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.javaee.FacesConfigListEntriesType instance by copying a given instance.
 
Method Summary
 FacesConfigListEntriesType clone()
          Creates and returns a copy of this object.
 void copyNullValueOrValue(Serializable[] source)
          Copies all values of property NullValueOrValue.
 String getId()
          Gets the value of the id property.
 Serializable[] getNullValueOrValue()
           
 Serializable getNullValueOrValue(int idx)
           
 int getNullValueOrValueLength()
           
 FacesConfigValueClassType getValueClass()
          Gets the value of the valueClass property.
 void setId(String value)
          Sets the value of the id property.
 Serializable setNullValueOrValue(int idx, Serializable value)
           
 void setNullValueOrValue(Serializable[] values)
           
 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

valueClass

protected FacesConfigValueClassType valueClass

nullValueOrValue

protected Serializable[] nullValueOrValue

id

protected String id
Constructor Detail

FacesConfigListEntriesType

public FacesConfigListEntriesType()
Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.javaee.FacesConfigListEntriesType instance.


FacesConfigListEntriesType

public FacesConfigListEntriesType(FacesConfigListEntriesType o)
Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.javaee.FacesConfigListEntriesType instance by copying a given instance.

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

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

getNullValueOrValue

public Serializable[] getNullValueOrValue()
Returns:
array of FacesConfigNullValueType String

getNullValueOrValue

public Serializable getNullValueOrValue(int idx)
Returns:
one of FacesConfigNullValueType String

getNullValueOrValueLength

public int getNullValueOrValueLength()

setNullValueOrValue

public void setNullValueOrValue(Serializable[] values)
Parameters:
values - allowed objects are FacesConfigNullValueType String

setNullValueOrValue

public Serializable setNullValueOrValue(int idx,
                                        Serializable value)
Parameters:
value - allowed object is FacesConfigNullValueType String

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

copyNullValueOrValue

public void copyNullValueOrValue(Serializable[] source)
Copies all values of property NullValueOrValue.

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

clone

public FacesConfigListEntriesType 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.