org.jomc.model
Class Implementations

Package class diagram package Implementations
java.lang.Object
  extended by org.jomc.model.ModelObject
      extended by org.jomc.model.Implementations
All Implemented Interfaces:
Cloneable

@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 Implementations
extends ModelObject
implements Cloneable

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, 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.
 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

implementation

@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<Implementation> implementation

reference

@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<ImplementationReference> reference
Constructor Detail

Implementations

public Implementations()
Creates a new Implementations instance.


Implementations

public Implementations(Implementations o)
Creates a new Implementations instance by deeply copying a given Implementations instance.

Parameters:
o - The instance to copy.
Throws:
NullPointerException - if o is null.
Method Detail

getImplementation

@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<Implementation> getImplementation()
Gets the value of the implementation property.

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


getReference

@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<ImplementationReference> getReference()
Gets the value of the reference property.

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


clone

@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 Implementations clone()
Creates and returns a deep copy of this object.

Overrides:
clone in class ModelObject
Returns:
A deep copy of this object.

getImplementation

public Implementation getImplementation(String implementation)
Gets an implementation for a given identifier from the list.

Parameters:
implementation - The identifier of the implementation to return.
Returns:
The implementation identified by implementation from the list or null, if no implementation matching implementation is found.
Throws:
NullPointerException - if implementation is null.
See Also:
getImplementation()

getImplementation

public Implementation getImplementation(Class implementation)
Gets an implementation for a given class from the list.

Parameters:
implementation - The class of the implementation to return.
Returns:
The implementation identified by implementation from the list or null, if no implementation matching implementation is found.
Throws:
NullPointerException - if implementation is null.
See Also:
getImplementation()

getImplementationByName

public Implementation getImplementationByName(String name)
Gets an implementation for a given name from the list.

Parameters:
name - The name of the implementation to return.
Returns:
The implementation named name from the list or null, if no implementation matching name is found.
Throws:
NullPointerException - if name is null.
See Also:
getImplementation()

getReference

public ImplementationReference getReference(String implementation)
Gets an implementation reference for a given identifier from the list of references.

Parameters:
implementation - The identifier of the reference to return.
Returns:
The implementation reference identified by implementation from the list or null, if no implementation reference matching implementation is found.
Throws:
NullPointerException - if implementation is null.
See Also:
getReference()


Copyright © 2005-2009 The JOMC Project. All Rights Reserved.