|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.jomc.model.ModelObject
org.jomc.model.Instances
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-09-21T10:35:38+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public class InstancesList of instances.
Instance| Field Summary | |
|---|---|
protected List<Instance> |
instance
|
| Fields inherited from class org.jomc.model.ModelObject |
|---|
authors, createDate, documentation, modelVersion |
| Constructor Summary | |
|---|---|
Instances()
Creates a new Instances instance. |
|
Instances(Instances o)
Creates a new Instances instance by deeply copying a given instance. |
|
| Method Summary | |
|---|---|
Instances |
clone()
Creates and returns a deep copy of this object. |
private static void |
copyInstance(List<Instance> source,
List<Instance> target)
Copies all values of property Instance deeply. |
List<Instance> |
getInstance()
Gets the value of the instance property. |
Instance |
getInstance(String identifier)
Gets an instance for a given identifier from the list of instances. |
| Methods inherited from class org.jomc.model.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 |
|---|
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-09-21T10:35:38+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected List<Instance> instance
| Constructor Detail |
|---|
public Instances()
Instances instance.
public Instances(Instances o)
Instances instance by deeply copying a given instance.
o - The instance to copy or null.| Method Detail |
|---|
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-09-21T10:35:38+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public List<Instance> getInstance()
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
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-09-21T10:35:38+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
private static void copyInstance(List<Instance> source,
List<Instance> target)
Instance deeply.
target - The target to copy source to.source - The source to copy from.
NullPointerException - if source or target is null.
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-09-21T10:35:38+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public Instances clone()
clone in class ModelObjectpublic Instance getInstance(String identifier)
identifier - The identifier of the instance to return.
identifier from the list or
null, if no instance matching identifier is found.
NullPointerException - if identifier is null.getInstance()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||