|
||||||||||
| 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-10-02T06:07:50+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public class SpecificationsList of specifications.
Specification| 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 instance. |
|
| Method Summary | |
|---|---|
Specifications |
clone()
Creates and returns a deep copy of this object. |
private static void |
copyReference(List<SpecificationReference> source,
List<SpecificationReference> target)
Copies all values of property Reference deeply. |
private static void |
copySpecification(List<Specification> source,
List<Specification> target)
Copies all values of property Specification deeply. |
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-10-02T06:07:50+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected List<Specification> specification
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-02T06:07:50+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 instance.
o - The instance to copy or null.| Method Detail |
|---|
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-02T06:07:50+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-10-02T06:07:50+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-10-02T06:07:50+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
private static void copySpecification(List<Specification> source,
List<Specification> target)
Specification 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-10-02T06:07:50+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
private static void copyReference(List<SpecificationReference> source,
List<SpecificationReference> target)
Reference 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-10-02T06:07:50+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public Specifications clone()
clone in class ModelObjectpublic 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 | |||||||||