|
|||||||||
| 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.Arguments
public class Arguments
Collection of arguments.
| Constructor Summary | |
|---|---|
Arguments()
|
|
| 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. |
Argument |
getArgument(int index)
Gets an argument for an index. |
Argument |
getArgument(String name)
Gets an argument for a name. |
Argument[] |
getArguments()
Gets the arguments of the collection. |
int |
hashCode()
Returns a hash code value for this object. |
void |
setArguments(Argument[] value)
Setter for property arguments. |
int |
size()
Gets the number of arguments 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 Arguments()
| 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 Argument getArgument(int index)
index - the index of the argument to return.
index.
IndexOutOfBoundsException - if index is negativ,
greater than or equal to size().public Argument getArgument(String name)
name - the name of the argument to return.
name.
NullPointerException - if name is null.
MissingArgumentException - if no argument matching name
exists in the collection.public Argument[] getArguments()
public int hashCode()
hashCode in class Objectpublic void setArguments(Argument[] value)
arguments.
value - the new arguments for the instance.
DuplicateArgumentException - if value contains
duplicate arguments.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 | ||||||||