|
||||||||||
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.Implementations
@Generated(value="com.sun.tools.xjc.Driver", date="2012-03-14T10:22:27+01:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") public class Implementations
List of implementations.
Java class for Implementations complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Implementations"> <complexContent> <extension base="{http://jomc.org/model}ModelObject"> <sequence> <element ref="{http://jomc.org/model}implementation" maxOccurs="unbounded" minOccurs="0"/> <element name="reference" type="{http://jomc.org/model}ImplementationReference" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
Field Summary | |
---|---|
protected List<Implementation> |
implementation
|
protected List<ImplementationReference> |
reference
|
Fields inherited from class org.jomc.model.ModelObject |
---|
authors, createDate, deprecated, documentation, MODEL_PUBLIC_ID, modelVersion |
Constructor Summary | |
---|---|
Implementations()
Creates a new Implementations instance. |
|
Implementations(Implementations o)
Creates a new Implementations instance by deeply copying a given Implementations instance. |
Method Summary | |
---|---|
Implementations |
clone()
Creates and returns a deep copy of this object. |
List<Implementation> |
getImplementation()
Gets the value of the implementation property. |
Implementation |
getImplementation(Class<?> implementation)
Gets an implementation for a given class from the list of implementations. |
Implementation |
getImplementation(String implementation)
Gets an implementation for a given identifier from the list of implementations. |
Implementation |
getImplementationByName(String name)
Gets an implementation for a given name from the list of implementations. |
List<ImplementationReference> |
getReference()
Gets the value of the reference property. |
ImplementationReference |
getReference(String implementation)
Gets an implementation reference for a given identifier from the list of references. |
Methods inherited from class org.jomc.model.ModelObject |
---|
getAnyElement, getAnyElement, getAnyElements, getAnyElements, getAnyObject, getAnyObjects, 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="2012-03-14T10:22:27+01:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") protected List<Implementation> implementation
@Generated(value="com.sun.tools.xjc.Driver", date="2012-03-14T10:22:27+01:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") protected List<ImplementationReference> reference
Constructor Detail |
---|
public Implementations()
Implementations
instance.
public Implementations(Implementations o)
Implementations
instance by deeply copying a given Implementations
instance.
o
- The instance to copy.
NullPointerException
- if o
is null
.Method Detail |
---|
@Generated(value="com.sun.tools.xjc.Driver", date="2012-03-14T10:22:27+01:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") public List<Implementation> getImplementation()
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 implementation property.
For example, to add a new item, do as follows:
getImplementation().add(newItem);
Objects of the following type(s) are allowed in the list
Implementation
@Generated(value="com.sun.tools.xjc.Driver", date="2012-03-14T10:22:27+01:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") public List<ImplementationReference> 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
ImplementationReference
@Generated(value="com.sun.tools.xjc.Driver", date="2012-03-14T10:22:27+01:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") public Implementations clone()
clone
in class ModelObject
public Implementation getImplementation(String implementation)
implementation
- The identifier of the implementation to return.
null
, if no such implementation is found.
NullPointerException
- if implementation
is null
.getImplementation()
,
Implementation.getIdentifier()
public Implementation getImplementation(Class<?> implementation)
implementation
- The class of the implementation to return.
null
, if no such implementation is found.
NullPointerException
- if implementation
is null
.getImplementation()
,
Implementation.isClassDeclaration()
,
Implementation.getClazz()
public Implementation getImplementationByName(String name)
name
- The name of the implementation to return.
null
, if no such implementation is found.
NullPointerException
- if name
is null
.getImplementation()
,
Implementation.getName()
public ImplementationReference getReference(String implementation)
implementation
- The identifier of the reference to return.
null
, if no such reference is found.
NullPointerException
- if implementation
is null
.getReference()
,
ImplementationReference.getIdentifier()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2005-2012 The JOMC Project. All Rights Reserved. |