|
||||||||||
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.Specifications
@Generated(value="com.sun.tools.xjc.Driver", date="2009-12-07T03:06:36+00:00", comments="JAXB RI vhudson-jaxb-ri-2.1-833") public class Specifications
List of specifications.
Java class for Specifications complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Specifications"> <complexContent> <extension base="{http://jomc.org/model}ModelObject"> <sequence> <element ref="{http://jomc.org/model}specification" maxOccurs="unbounded" minOccurs="0"/> <element name="reference" type="{http://jomc.org/model}SpecificationReference" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
Field Summary | |
---|---|
protected List<SpecificationReference> |
reference
|
protected List<Specification> |
specification
|
Fields inherited from class org.jomc.model.ModelObject |
---|
authors, createDate, deprecated, documentation, modelVersion |
Constructor Summary | |
---|---|
Specifications()
Creates a new Specifications instance. |
|
Specifications(Specifications o)
Creates a new Specifications instance by deeply copying a given Specifications instance. |
Method Summary | |
---|---|
Specifications |
clone()
Creates and returns a deep copy of this object. |
List<SpecificationReference> |
getReference()
Gets the value of the reference property. |
SpecificationReference |
getReference(String specification)
Gets a specification reference for a given identifier from the list of references. |
List<Specification> |
getSpecification()
Gets the value of the specification property. |
Specification |
getSpecification(Class specification)
Gets a specification for a given class from the list of specifications. |
Specification |
getSpecification(String specification)
Gets a specification for a given identifier from the list of specifications. |
Methods inherited from class org.jomc.model.ModelObject |
---|
getAuthors, getCreateDate, getDocumentation, getModelVersion, isDeprecated, setAuthors, setCreateDate, setDeprecated, 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-12-07T03:06:36+00:00", comments="JAXB RI vhudson-jaxb-ri-2.1-833") protected List<Specification> specification
@Generated(value="com.sun.tools.xjc.Driver", date="2009-12-07T03:06:36+00:00", comments="JAXB RI vhudson-jaxb-ri-2.1-833") protected List<SpecificationReference> reference
Constructor Detail |
---|
public Specifications()
Specifications
instance.
public Specifications(Specifications o)
Specifications
instance by deeply copying a given Specifications
instance.
o
- The instance to copy.
NullPointerException
- if o
is null
.Method Detail |
---|
@Generated(value="com.sun.tools.xjc.Driver", date="2009-12-07T03:06:36+00:00", comments="JAXB RI vhudson-jaxb-ri-2.1-833") public List<Specification> getSpecification()
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 specification property.
For example, to add a new item, do as follows:
getSpecification().add(newItem);
Objects of the following type(s) are allowed in the list
Specification
@Generated(value="com.sun.tools.xjc.Driver", date="2009-12-07T03:06:36+00:00", comments="JAXB RI vhudson-jaxb-ri-2.1-833") public List<SpecificationReference> getReference()
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 reference property.
For example, to add a new item, do as follows:
getReference().add(newItem);
Objects of the following type(s) are allowed in the list
SpecificationReference
@Generated(value="com.sun.tools.xjc.Driver", date="2009-12-07T03:06:36+00:00", comments="JAXB RI vhudson-jaxb-ri-2.1-833") public Specifications clone()
clone
in class ModelObject
public Specification getSpecification(String specification)
specification
- The identifier of the specification to return.
specification
from the
list or null
, if no specification matching specification
is found.
NullPointerException
- if specification
is null
.getSpecification()
public Specification getSpecification(Class specification)
specification
- The class of the specification to return.
specification
from the list or null
, if no specification
matching specification
is found.
NullPointerException
- if specification
is null
.getSpecification()
public SpecificationReference getReference(String specification)
specification
- The identifier of the reference to return.
specification
from the list or null
, if no specification reference matching
specification
is found.
NullPointerException
- if specification
is null
.getReference()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |