net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.spring.beans.impl
Class ListOrSetTypeImpl

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.spring.beans.impl.CollectionTypeImpl
      extended by net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.spring.beans.impl.ListOrSetTypeImpl
All Implemented Interfaces:
Serializable, Cloneable, CollectionType, ListOrSetType
Direct Known Subclasses:
ListImpl, ListImpl, SetImpl, SetImpl

public class ListOrSetTypeImpl
extends CollectionTypeImpl
implements Serializable, Cloneable, ListOrSetType

See Also:
Serialized Form

Field Summary
protected  List<Object> beanOrRefOrIdref
           
protected  DescriptionImpl description
           
 
Fields inherited from class net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.spring.beans.impl.CollectionTypeImpl
valueType
 
Constructor Summary
ListOrSetTypeImpl()
          Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.spring.beans.impl.ListOrSetTypeImpl instance.
ListOrSetTypeImpl(ListOrSetTypeImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.spring.beans.impl.ListOrSetTypeImpl instance by copying a given instance.
 
Method Summary
 ListOrSetTypeImpl clone()
          Creates and returns a copy of this object.
 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.pkg.collections.novalueclass.spring.beans.impl.CollectionTypeImpl
getValueType, setValueType
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.spring.beans.CollectionType
getValueType, setValueType
 

Field Detail

description

protected DescriptionImpl description

beanOrRefOrIdref

protected List<Object> beanOrRefOrIdref
Constructor Detail

ListOrSetTypeImpl

public ListOrSetTypeImpl()
Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.spring.beans.impl.ListOrSetTypeImpl instance.


ListOrSetTypeImpl

public ListOrSetTypeImpl(ListOrSetTypeImpl o)
Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.spring.beans.impl.ListOrSetTypeImpl instance by copying a given instance.

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

getDescription

public Description getDescription()
Description copied from interface: ListOrSetType
Gets the value of the description property.

Specified by:
getDescription in interface ListOrSetType
Returns:
possible object is Description

setDescription

public void setDescription(Description value)
Description copied from interface: ListOrSetType
Sets the value of the description property.

Specified by:
setDescription in interface ListOrSetType
Parameters:
value - allowed object is Description

getBeanOrRefOrIdref

public List<Object> getBeanOrRefOrIdref()
Description copied from interface: ListOrSetType
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 Bean Idref List Set Object Props Map Null Ref

Specified by:
getBeanOrRefOrIdref in interface ListOrSetType

clone

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

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


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