net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.jomc
Class Instances

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.jomc.ModelObject
      extended by net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.jomc.Instances
All Implemented Interfaces:
Serializable, Cloneable

public class Instances
extends ModelObject
implements Serializable, Cloneable

List of instances.

See Also:
Serialized Form

Field Summary
protected  Instance[] instance
           
 
Fields inherited from class net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.jomc.ModelObject
authors, createDate, documentation, modelVersion
 
Constructor Summary
Instances()
          Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.jomc.Instances instance.
Instances(Instances o)
          Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.jomc.Instances instance by copying a given instance.
 
Method Summary
 Instances clone()
          Creates and returns a copy of this object.
 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.pkg.indexed.valueclass.jomc.ModelObject
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
 

Field Detail

instance

protected Instance[] instance
Constructor Detail

Instances

public Instances()
Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.jomc.Instances instance.


Instances

public Instances(Instances o)
Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.jomc.Instances instance by copying a given instance.

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

getInstance

public Instance[] getInstance()
Returns:
array of Instance

getInstance

public Instance getInstance(int idx)
Returns:
one of Instance

getInstanceLength

public int getInstanceLength()

setInstance

public void setInstance(Instance[] values)
Parameters:
values - allowed objects are Instance

setInstance

public Instance setInstance(int idx,
                            Instance value)
Parameters:
value - allowed object is Instance

clone

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

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


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