net.sourceforge.ccxjc.it.model.priv.collections.novalueclass.jomc.impl
Class InstancesImpl

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.priv.collections.novalueclass.jomc.impl.ModelObjectImpl
      extended by net.sourceforge.ccxjc.it.model.priv.collections.novalueclass.jomc.impl.InstancesImpl
All Implemented Interfaces:
Serializable, Cloneable, Instances, ModelObject

public class InstancesImpl
extends ModelObjectImpl
implements Serializable, Cloneable, Instances

See Also:
Serialized Form

Field Summary
protected  List<Instance> instance
           
 
Fields inherited from class net.sourceforge.ccxjc.it.model.priv.collections.novalueclass.jomc.impl.ModelObjectImpl
authors, createDate, documentation, modelVersion
 
Constructor Summary
InstancesImpl()
          Creates a new net.sourceforge.ccxjc.it.model.priv.collections.novalueclass.jomc.impl.InstancesImpl instance.
InstancesImpl(InstancesImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.priv.collections.novalueclass.jomc.impl.InstancesImpl instance by copying a given instance.
 
Method Summary
 InstancesImpl clone()
          Creates and returns a copy of this object.
 List<Instance> getInstance()
          Gets the value of the instance property.
 
Methods inherited from class net.sourceforge.ccxjc.it.model.priv.collections.novalueclass.jomc.impl.ModelObjectImpl
getAuthors, getCreateDate, getDocumentation, getModelVersion, setAuthors, setCreateDate, setDocumentation, setModelVersion
 
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.priv.collections.novalueclass.jomc.ModelObject
getAuthors, getCreateDate, getDocumentation, getModelVersion, setAuthors, setCreateDate, setDocumentation, setModelVersion
 

Field Detail

instance

protected List<Instance> instance
Constructor Detail

InstancesImpl

public InstancesImpl()
Creates a new net.sourceforge.ccxjc.it.model.priv.collections.novalueclass.jomc.impl.InstancesImpl instance.


InstancesImpl

public InstancesImpl(InstancesImpl o)
Creates a new net.sourceforge.ccxjc.it.model.priv.collections.novalueclass.jomc.impl.InstancesImpl instance by copying a given instance.

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

getInstance

public List<Instance> getInstance()
Description copied from interface: Instances
Gets the value of the instance 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 instance property.

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

    getInstance().add(newItem);
 

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

Specified by:
getInstance in interface Instances

clone

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

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


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