
public class Modules extends ModelObject implements Cloneable, Serializable
| Constructor and Description |
|---|
Modules()
Creates a new
Modules instance. |
| Modifier and Type | Method and Description |
|---|---|
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
modules. |
int |
size()
Gets the number of modules held by the instance.
|
String |
toString()
Returns a string representation of the object.
|
getDocumentation, getModelVersion, setDocumentation, setModelVersionpublic Modules()
Modules instance.public boolean equals(Object o)
public Implementation getImplementation(String identifier)
identifier - the identifier of the implementation to return.identifier.NullPointerException - if identifier is null.MissingImplementationException - if no implementation matching
identifier exists.public Implementations getImplementations()
public final Module getModule(int index)
index - the index of the module to return.index.IndexOutOfBoundsException - if index is negativ,
greater than or equal to size().public Module getModule(String name)
name - the name of the module to return.name.NullPointerException - if name is null.MissingModuleException - if no module matching name exists
in the collection.public Module[] getModules()
public Specification getSpecification(String identifier)
identifier - the identifier of the specification to return.identifier.NullPointerException - if identifier is null.MissingSpecificationException - if no specification matching
identifier exists.public Specifications getSpecifications()
public int hashCode()
public void setModules(Module[] value)
modules.value - the new collection of modules.DuplicateModuleException - if value contains duplicate
modules.DuplicateSpecificationException - if value contains
duplicate specifications.DuplicateImplementationException - if value contains
duplicate implementations.public final int size()
Copyright © 2005-2012 jDTAUS. All Rights Reserved.