@Generated(value="com.sun.tools.xjc.Driver", date="2014-11-18T07:01:01+01:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") public class Instances extends ModelObject implements Cloneable
Java class for Instances complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Instances"> <complexContent> <extension base="{http://jomc.org/model}ModelObject"> <sequence> <element ref="{http://jomc.org/model}instance" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<Instance> |
instance |
authors, createDate, deprecated, documentation, MODEL_PUBLIC_ID, modelVersion
Constructor and Description |
---|
Instances()
Creates a new
Instances instance. |
Instances(Instances o)
Creates a new
Instances instance by deeply copying a given Instances instance. |
Modifier and Type | Method and Description |
---|---|
Instances |
clone()
Creates and returns a deep copy of this object.
|
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.
|
getAnyElement, getAnyElement, getAnyElements, getAnyElements, getAnyObject, getAnyObjects, getAuthors, getCreateDate, getDocumentation, getModelVersion, isDeprecated, setAuthors, setCreateDate, setDeprecated, setDocumentation, setModelVersion
public Instances()
Instances
instance.public Instances(Instances o)
Instances
instance by deeply copying a given Instances
instance.o
- The instance to copy.NullPointerException
- if o
is null
.@Generated(value="com.sun.tools.xjc.Driver", date="2014-11-18T07:01:01+01:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") 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="2014-11-18T07:01:01+01:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") public Instances clone()
clone
in class ModelObject
public Instance getInstance(String identifier)
identifier
- The identifier of the instance to return.null
, if no such instance is found.NullPointerException
- if identifier
is null
.getInstance()
,
Instance.getIdentifier()
Copyright © 2005–2014 The JOMC Project. All rights reserved.