|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jdtaus.core.container.ModelObject
org.jdtaus.core.container.Implementations
public class Implementations
Collection of implementations.
| Constructor Summary | |
|---|---|
Implementations()
|
|
| 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(int index)
Gets an implementation for an index. |
Implementation |
getImplementation(String identifier)
Gets an implementation for an identifier. |
Implementation[] |
getImplementations()
Gets all implementations of the collection. |
int |
hashCode()
Returns a hash code value for this object. |
void |
setImplementations(Implementation[] value)
Setter for property implementations. |
int |
size()
Gets the number of implementations held by the instance. |
String |
toString()
Returns a string representation of the object. |
| Methods inherited from class org.jdtaus.core.container.ModelObject |
|---|
getDocumentation, getModelVersion, setDocumentation, setModelVersion |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Implementations()
| Method Detail |
|---|
public Object clone()
clone in class Objectpublic boolean equals(Object o)
equals in class Objecto - the reference object with which to compare.
true if this object is the same as o;
false otherwise.public final Implementation getImplementation(int index)
index - the index of the implementation to return.
index.
IndexOutOfBoundsException - if index is negativ,
greater than or equal to size().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 in the collection.public Implementation[] getImplementations()
public int hashCode()
hashCode in class Objectpublic void setImplementations(Implementation[] value)
implementations.
value - the new implementations for the instance.
DuplicateImplementationException - if value contains
duplicate implementations.public final int size()
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||