net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.spring.beans.impl
Class PropsTypeImpl

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.spring.beans.impl.CollectionTypeImpl
      extended by net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.spring.beans.impl.PropsTypeImpl
All Implemented Interfaces:
Serializable, Cloneable, CollectionType, PropsType
Direct Known Subclasses:
PropertiesImpl, PropsImpl

public class PropsTypeImpl
extends CollectionTypeImpl
implements Serializable, Cloneable, PropsType

See Also:
Serialized Form

Field Summary
protected  List<Prop> prop
           
 
Fields inherited from class net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.spring.beans.impl.CollectionTypeImpl
valueType
 
Constructor Summary
PropsTypeImpl()
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.spring.beans.impl.PropsTypeImpl instance.
PropsTypeImpl(PropsTypeImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.spring.beans.impl.PropsTypeImpl instance by copying a given instance.
 
Method Summary
 PropsTypeImpl clone()
          Creates and returns a copy of this object.
static void copyProp(List<Prop> source, List<Prop> target)
          Copies all values of property Prop.
 List<Prop> getProp()
          Gets the value of the prop property.
 
Methods inherited from class net.sourceforge.ccxjc.it.model.pub.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.pub.collections.novalueclass.spring.beans.CollectionType
getValueType, setValueType
 

Field Detail

prop

protected List<Prop> prop
Constructor Detail

PropsTypeImpl

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


PropsTypeImpl

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

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

getProp

public List<Prop> getProp()
Description copied from interface: PropsType
Gets the value of the prop 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 prop property.

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

    getProp().add(newItem);
 

Objects of the following type(s) are allowed in the list Prop

Specified by:
getProp in interface PropsType

copyProp

public static void copyProp(List<Prop> source,
                            List<Prop> target)
Copies all values of property Prop.

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

clone

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