net.sourceforge.ccxjc.it.model.pub.collections.valueclass.spring.beans
Class ListOrSetType

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.collections.valueclass.spring.beans.CollectionType
      extended by net.sourceforge.ccxjc.it.model.pub.collections.valueclass.spring.beans.ListOrSetType
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
List, List, Set, Set

public class ListOrSetType
extends CollectionType
implements Serializable, Cloneable

Java class for listOrSetType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="listOrSetType">
   <complexContent>
     <extension base="{http://www.springframework.org/schema/beans}collectionType">
       <group ref="{http://www.springframework.org/schema/beans}collectionElements"/>
     </extension>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<Object> beanOrRefOrIdref
           
protected  Description description
           
 
Fields inherited from class net.sourceforge.ccxjc.it.model.pub.collections.valueclass.spring.beans.CollectionType
valueType
 
Constructor Summary
ListOrSetType()
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.spring.beans.ListOrSetType instance.
ListOrSetType(ListOrSetType o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.spring.beans.ListOrSetType instance by copying a given instance.
 
Method Summary
 ListOrSetType clone()
          Creates and returns a copy of this object.
static void copyBeanOrRefOrIdref(List<Object> source, List<Object> target)
          Copies all values of property BeanOrRefOrIdref.
 List<Object> getBeanOrRefOrIdref()
          Gets the value of the beanOrRefOrIdref property.
 Description getDescription()
          Gets the value of the description property.
 void setDescription(Description value)
          Sets the value of the description property.
 
Methods inherited from class net.sourceforge.ccxjc.it.model.pub.collections.valueclass.spring.beans.CollectionType
getValueType, setValueType
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected Description description

beanOrRefOrIdref

protected List<Object> beanOrRefOrIdref
Constructor Detail

ListOrSetType

public ListOrSetType()
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.spring.beans.ListOrSetType instance.


ListOrSetType

public ListOrSetType(ListOrSetType o)
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.spring.beans.ListOrSetType instance by copying a given instance.

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

getDescription

public Description getDescription()
Gets the value of the description property.

Returns:
possible object is Description

setDescription

public void setDescription(Description value)
Sets the value of the description property.

Parameters:
value - allowed object is Description

getBeanOrRefOrIdref

public List<Object> getBeanOrRefOrIdref()
Gets the value of the beanOrRefOrIdref 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 beanOrRefOrIdref property.

For example, to add a new item, do as follows:

    getBeanOrRefOrIdref().add(newItem);
 

Objects of the following type(s) are allowed in the list Value Object Props List Map Idref Null Set Ref Bean


copyBeanOrRefOrIdref

public static void copyBeanOrRefOrIdref(List<Object> source,
                                        List<Object> target)
Copies all values of property BeanOrRefOrIdref.

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

clone

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

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


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