|
|||||||||
| 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.Dependencies
public class Dependencies
Collection of dependencies.
| Constructor Summary | |
|---|---|
Dependencies()
|
|
| 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. |
Dependency[] |
getDependencies()
Gets all dependencies of the collection. |
Dependency |
getDependency(int index)
Gets a dependency for an index. |
Dependency |
getDependency(String name)
Gets a dependency for a name. |
int |
hashCode()
Returns a hash code value for this object. |
void |
setDependencies(Dependency[] value)
Setter for property dependencies. |
int |
size()
Gets the number of dependencies 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 Dependencies()
| 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 Dependency[] getDependencies()
public final Dependency getDependency(int index)
index - the index of the dependency to return.
index.
IndexOutOfBoundsException - if index is negativ,
greater than or equal to size().public Dependency getDependency(String name)
name - the name of the dependency to return.
name.
NullPointerException - if name is null.
MissingDependencyException - if no dependency matching name
exists in the collection.public int hashCode()
hashCode in class Objectpublic void setDependencies(Dependency[] value)
dependencies.
value - the new dependencies for the collection.
DuplicateDependencyException - if value contains duplicate
dependencies.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 | ||||||||