net.sourceforge.ccxjc.it.model.prot.indexed.novalueclass.jomc.impl
Class InstancesImpl

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.prot.indexed.novalueclass.jomc.impl.ModelObjectImpl
      extended by net.sourceforge.ccxjc.it.model.prot.indexed.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  Instance[] instance
           
 
Fields inherited from class net.sourceforge.ccxjc.it.model.prot.indexed.novalueclass.jomc.impl.ModelObjectImpl
authors, createDate, documentation, modelVersion
 
Constructor Summary
InstancesImpl()
          Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.novalueclass.jomc.impl.InstancesImpl instance.
InstancesImpl(InstancesImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.novalueclass.jomc.impl.InstancesImpl instance by copying a given instance.
 
Method Summary
 InstancesImpl clone()
          Creates and returns a copy of this object.
protected  void copyInstance(Instance[] source)
          Copies all values of property Instance.
 Instance[] getInstance()
           
 Instance getInstance(int idx)
           
 int getInstanceLength()
           
 void setInstance(Instance[] values)
           
 Instance setInstance(int idx, Instance value)
           
 
Methods inherited from class net.sourceforge.ccxjc.it.model.prot.indexed.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.prot.indexed.novalueclass.jomc.ModelObject
getAuthors, getCreateDate, getDocumentation, getModelVersion, setAuthors, setCreateDate, setDocumentation, setModelVersion
 

Field Detail

instance

protected Instance[] instance
Constructor Detail

InstancesImpl

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


InstancesImpl

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

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

getInstance

public Instance[] getInstance()
Specified by:
getInstance in interface Instances
Returns:
array of Instance

getInstance

public Instance getInstance(int idx)
Specified by:
getInstance in interface Instances
Returns:
one of Instance

getInstanceLength

public int getInstanceLength()
Specified by:
getInstanceLength in interface Instances

setInstance

public void setInstance(Instance[] values)
Specified by:
setInstance in interface Instances
Parameters:
values - allowed objects are Instance

setInstance

public Instance setInstance(int idx,
                            Instance value)
Specified by:
setInstance in interface Instances
value - allowed object is Instance

copyInstance

protected void copyInstance(Instance[] source)
Copies all values of property Instance.

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

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.