
public class Dependencies extends ModelObject implements Cloneable, Serializable
| Constructor and Description |
|---|
Dependencies()
Creates a new
Dependencies 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.
|
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.
|
getDocumentation, getModelVersion, setDocumentation, setModelVersionpublic Dependencies()
Dependencies instance.public boolean equals(Object o)
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()
public void setDependencies(Dependency[] value)
dependencies.value - the new dependencies for the collection.DuplicateDependencyException - if value contains duplicate
dependencies.public final int size()
Copyright © 2005-2012 jDTAUS. All Rights Reserved.