
@Generated(value="com.sun.tools.xjc.Driver",
date="2016-11-01T03:16:37+01:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public class Specifications
extends ModelObject
implements Cloneable
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>
| Modifier and Type | Field and Description |
|---|---|
protected List<SpecificationReference> |
reference |
protected List<Specification> |
specification |
authors, createDate, deprecated, documentation, MODEL_PUBLIC_ID, modelVersion| Constructor and Description |
|---|
Specifications()
Creates a new
Specifications instance. |
Specifications(Specifications o)
Creates a new
Specifications instance by deeply copying a given Specifications instance. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
getAnyElement, getAnyElement, getAnyElements, getAnyElements, getAnyObject, getAnyObjects, getAuthors, getCreateDate, getDocumentation, getModelVersion, isDeprecated, setAuthors, setCreateDate, setDeprecated, setDocumentation, setModelVersion@Generated(value="com.sun.tools.xjc.Driver",
date="2016-11-01T03:16:37+01:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-2")
protected List<Specification> specification
@Generated(value="com.sun.tools.xjc.Driver",
date="2016-11-01T03:16:37+01:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-2")
protected List<SpecificationReference> reference
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.@Generated(value="com.sun.tools.xjc.Driver",
date="2016-11-01T03:16:37+01:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-2")
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="2016-11-01T03:16:37+01:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-2")
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="2016-11-01T03:16:37+01:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public Specifications clone()
clone in class ModelObjectpublic Specification getSpecification(String specification)
specification - The identifier of the specification to return.null, if no such specification is found.NullPointerException - if specification is null.getSpecification(),
Specification.getIdentifier()public Specification getSpecification(Class<?> specification) throws ModelObjectException
specification - The class of the specification to return.specification or null, if no such
specification is found.NullPointerException - if specification is null.ModelObjectException - if compiling the name of a referenced type to a JavaTypeName fails.getSpecification(),
Specification.isClassDeclaration(),
Specification.getClazz()public SpecificationReference getReference(String specification)
specification - The identifier of the reference to return.null, if no such specification reference is found.NullPointerException - if specification is null.getReference(),
SpecificationReference.getIdentifier()Copyright © 2005–2016 The JOMC Project. All rights reserved.