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