|
||||||||||
| 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.Modules
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-06T06:45:27+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public class ModulesList of modules.
Queries
getMergedModule()getSpecifications()getSpecification(java.lang.String)getSpecification(java.lang.Class)getModuleOfSpecification(java.lang.String)getImplementations()getImplementation(java.lang.String)getImplementation(java.lang.Class)getModuleOfImplementation(java.lang.String)getImplementation(java.lang.String, java.lang.String)getImplementations(java.lang.String)getDependencies(java.lang.String)getMessages(java.lang.String)getProperties(java.lang.String)getSpecifiedProperties(java.lang.String)
Module| Field Summary | |
|---|---|
protected List<Module> |
module
|
| Fields inherited from class org.jomc.model.ModelObject |
|---|
authors, createDate, deprecated, documentation, modelVersion |
| Constructor Summary | |
|---|---|
Modules()
Creates a new Modules instance. |
|
Modules(Modules o)
Creates a new Modules instance by deeply copying a given instance. |
|
| Method Summary | |
|---|---|
Modules |
clone()
Creates and returns a deep copy of this object. |
(package private) void |
collectDependencies(Implementation implementation,
Dependencies dependencies,
Implementations seen,
boolean includeDeclared)
|
(package private) void |
collectMessages(Implementation implementation,
Messages messages,
Implementations seen,
boolean includeDeclared)
|
(package private) void |
collectProperties(Implementation implementation,
Properties properties,
Implementations seen,
boolean includeDeclared)
|
(package private) void |
collectSpecifications(Implementation implementation,
Specifications specifications,
Implementations seen,
boolean includeDeclared)
|
private static void |
copyModule(List<Module> source,
List<Module> target)
Copies all values of property Module deeply. |
Dependencies |
getDependencies(String implementation)
Gets all dependencies of an implementation from this list of modules. |
Implementation |
getImplementation(Class implementation)
Gets an implementation for a given class from this list of modules. |
Implementation |
getImplementation(String implementation)
Gets an implementation for a given identifier from this list of modules. |
Implementation |
getImplementation(String specification,
String name)
Gets an implementation for a given name implementing a given specification from this list of modules. |
Implementations |
getImplementations()
Gets all implementations declared in this list of modules. |
Implementations |
getImplementations(String specification)
Gets all implementations implementing a given specification from this list of modules. |
Module |
getMergedModule()
Merges this list of modules to a single module. |
Messages |
getMessages(String implementation)
Gets all messages of an implementation from this list of modules. |
List<Module> |
getModule()
Gets the value of the module property. |
Module |
getModule(String name)
Gets a module for a given name from this list of modules. |
Module |
getModuleOfImplementation(String implementation)
Gets the module declaring a given implementation from this list of modules. |
Module |
getModuleOfSpecification(String specification)
Gets the module declaring a given specification from this list of modules. |
Properties |
getProperties(String implementation)
Gets all properties of an implementation from this list of modules. |
Specification |
getSpecification(Class specification)
Gets a specification for a given class from this list of modules. |
Specification |
getSpecification(String specification)
Gets a specification for a given identifier from this list of modules. |
Specifications |
getSpecifications()
Gets all specifications declared in this list of modules. |
Specifications |
getSpecifications(String implementation)
Gets all specifications an implementation implements from this list of modules. |
Properties |
getSpecifiedProperties(String implementation)
Gets all properties specified for an implementation from this list of modules. |
| 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-06T06:45:27+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected List<Module> module
| Constructor Detail |
|---|
public Modules()
Modules instance.
public Modules(Modules o)
Modules 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-06T06:45:27+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public List<Module> getModule()
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 module property.
For example, to add a new item, do as follows:
getModule().add(newItem);
Objects of the following type(s) are allowed in the list
Module
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-06T06:45:27+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
private static void copyModule(List<Module> source,
List<Module> target)
Module 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-06T06:45:27+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public Modules clone()
clone in class ModelObjectpublic Module getModule(String name)
name - The name of the module to return.
name from the list or null,
if no module matching name is found.
NullPointerException - if name is null.getModule()public Specifications getSpecifications()
null, if no
specifications are declared.getModule()public Implementations getImplementations()
null, if no
implementations are declared.getModule()public Module getModuleOfSpecification(String specification)
specification - The identifier of the specification whose declaring module to return.
specification from the list or null, if no module
is found declaring specification.
NullPointerException - if specification is null.getModule()public Module getModuleOfImplementation(String implementation)
implementation - The identifier of the implementation whose declaring module to return.
implementation from the list or null, if no module
is found declaring implementation.
NullPointerException - if implementation is null.getModule()public 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.getModule()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.getModule()public Specifications getSpecifications(String implementation)
implementation - The identifier of the implementation to get all implemented specifications of.
implementation from the list or null, if no
implementation matching implementation is found.
NullPointerException - if implementation is null.getModule()
void collectSpecifications(Implementation implementation,
Specifications specifications,
Implementations seen,
boolean includeDeclared)
public 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.getModule()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.getModule()
public Implementation getImplementation(String specification,
String name)
specification - The identifier of the specification to return an implementation of.name - The name of the implementation to return.
name implementing the specification identified by
specification from the list or null, if no such implementation is found.
NullPointerException - if specification or name is null.getModule()public Dependencies getDependencies(String implementation)
implementation - The identifier of the implementation to get all dependencies of.
implementation from the list or null,
if no dependencies are found.
NullPointerException - if implementation is null.getModule()
void collectDependencies(Implementation implementation,
Dependencies dependencies,
Implementations seen,
boolean includeDeclared)
public Properties getProperties(String implementation)
implementation - The identifier of the implementation to get all properties of.
implementation from the list or null,
if no properties are found.
NullPointerException - if implementation is null.getModule()
void collectProperties(Implementation implementation,
Properties properties,
Implementations seen,
boolean includeDeclared)
public Properties getSpecifiedProperties(String implementation)
implementation - The identifier of the implementation to return specified properties of.
implementation from the list or null,
if no properties are found.
NullPointerException - if implementation is null.getModule()public Messages getMessages(String implementation)
implementation - The identifier of the implementation to get all messages of.
implementation from the list or null,
if no messages are found.
NullPointerException - if implementation is null.getModule()
void collectMessages(Implementation implementation,
Messages messages,
Implementations seen,
boolean includeDeclared)
public Implementations getImplementations(String specification)
specification - The identifier of the specification to return implementations of.
specification
from the list or null, if no implementation implementing specification is found.
NullPointerException - if specification is null.getModule()public Module getMergedModule()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||