|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jdtaus.core.container.Modules
Collection of modules.
| Constructor Summary | |
Modules()
|
|
| Method Summary | |
Object |
clone()
Creates and returns a deep copy of this object. |
boolean |
equals(Object o)
Indicates whether some other object is equal to this one by comparing the values of all properties. |
Implementation |
getImplementation(String identifier)
Gets an implementation for an identifier. |
Implementations |
getImplementations()
Gets a collection of all implementations of all modules held by the instance. |
Module |
getModule(int index)
Gets a module for an index. |
Module |
getModule(String name)
Gets a module for a name. |
Module[] |
getModules()
Gets the modules of the collection. |
Specification |
getSpecification(String identifier)
Gets a specification for an identifier. |
Specifications |
getSpecifications()
Gets a collection of all specifications of all modules. |
int |
hashCode()
Returns a hash code value for this object. |
void |
setModules(Module[] value)
Setter for property . |
int |
size()
Gets the number of modules held by the instance. |
String |
toString()
Returns a string representation of the object. |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Modules()
| Method Detail |
public Object clone()
public boolean equals(Object o)
o - the reference object with which to compare.
public Implementation getImplementation(String identifier)
identifier - the identifier of the implementation to return.
NullPointerException - if is .
MissingImplementationException - if no implementation matching
exists.public Implementations getImplementations()
public final Module getModule(int index)
index - the index of the module to return.
IndexOutOfBoundsException - if is negativ,
greater than or equal to .public Module getModule(String name)
name - the name of the module to return.
NullPointerException - if is .
MissingModuleException - if no module matching exists
in the collection.public Module[] getModules()
public Specification getSpecification(String identifier)
identifier - the identifier of the specification to return.
NullPointerException - if is .
MissingSpecificationException - if no specification matching
exists.public Specifications getSpecifications()
public int hashCode()
public void setModules(Module[] value)
value - the new collection of modules.
DuplicateModuleException - if contains duplicate
modules.
DuplicateSpecificationException - if contains
duplicate specifications.
DuplicateImplementationException - if contains
duplicate implementations.public final int size()
public String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||