|
||||||||||
| 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="2009-10-02T06:07:50+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public class ImplementationsList of implementations.
Implementation| Field Summary | |
|---|---|
protected List<Implementation> |
implementation
|
protected List<ImplementationReference> |
reference
|
| Fields inherited from class org.jomc.model.ModelObject |
|---|
authors, createDate, deprecated, documentation, modelVersion |
| Constructor Summary | |
|---|---|
Implementations()
Creates a new Implementations instance. |
|
Implementations(Implementations o)
Creates a new Implementations instance by deeply copying a given instance. |
|
| Method Summary | |
|---|---|
Implementations |
clone()
Creates and returns a deep copy of this object. |
private static void |
copyImplementation(List<Implementation> source,
List<Implementation> target)
Copies all values of property Implementation deeply. |
private static void |
copyReference(List<ImplementationReference> source,
List<ImplementationReference> target)
Copies all values of property Reference deeply. |
List<Implementation> |
getImplementation()
Gets the value of the implementation property. |
Implementation |
getImplementation(Class implementation)
Gets an implementation for a given class from the list. |
Implementation |
getImplementation(String implementation)
Gets an implementation for a given identifier from the list. |
Implementation |
getImplementationByName(String name)
Gets an implementation for a given name from the list. |
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 |
|---|
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<Implementation> implementation
@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<ImplementationReference> reference
| Constructor Detail |
|---|
public Implementations()
Implementations instance.
public Implementations(Implementations o)
Implementations 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<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="2009-10-02T06:07:50+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
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="2009-10-02T06:07:50+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
private static void copyImplementation(List<Implementation> source,
List<Implementation> target)
Implementation 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<ImplementationReference> source,
List<ImplementationReference> 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 Implementations clone()
clone in class ModelObjectpublic Implementation getImplementation(String implementation)
implementation - The identifier of the implementation to return.
implementation from the
list or null, if no implementation matching
implementation is found.
NullPointerException - if implementation is null.public Implementation getImplementation(Class implementation)
implementation - The class of the implementation to return.
implementation from the
list or null, if no implementation matching
implementation is found.
NullPointerException - if implementation is null.public Implementation getImplementationByName(String name)
name - The name of the implementation to return.
name from the list or
null, if no implementation matching name is found.
NullPointerException - if name is null.public ImplementationReference getReference(String implementation)
implementation - The identifier of the reference to return.
implementation
from the list or null, if no implementation reference matching
implementation is found.
NullPointerException - if implementation is null.getReference()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||