public class Command extends Object implements Serializable
Constructor and Description |
---|
Command() |
Modifier and Type | Method and Description |
---|---|
void |
addArgument(Argument vArgument) |
void |
addArgument(int index,
Argument vArgument) |
Enumeration<Argument> |
enumerateArgument()
Method enumerateArgument.
|
boolean |
equals(Object obj)
Overrides the Object.equals method.
|
Argument[] |
getArgument()
Method getArgument.Returns the contents of the collection in an Array.
|
Argument |
getArgument(int index)
Method getArgument.
|
List<Argument> |
getArgumentCollection()
Method getArgumentCollection.Returns a reference to 'argumentList'.
|
int |
getArgumentCount()
Method getArgumentCount.
|
String |
getBinary()
Returns the value of field 'binary'.
|
String |
getComment()
Returns the value of field 'comment'.
|
String |
getContactType()
Returns the value of field 'contactType'.
|
String |
getExecute()
Returns the value of field 'execute'.
|
String |
getName()
Returns the value of field 'name'.
|
int |
hashCode()
Method hashCode.
|
Iterator<Argument> |
iterateArgument()
Method iterateArgument.
|
void |
removeAllArgument() |
boolean |
removeArgument(Argument vArgument)
Method removeArgument.
|
Argument |
removeArgumentAt(int index)
Method removeArgumentAt.
|
void |
setArgument(Argument[] vArgumentArray) |
void |
setArgument(int index,
Argument vArgument) |
void |
setArgument(List<Argument> vArgumentList)
Sets the value of 'argumentList' by copying the given Vector.
|
void |
setArgumentCollection(List<Argument> argumentList)
Deprecated.
|
void |
setBinary(String binary)
Sets the value of field 'binary'.
|
void |
setComment(String comment)
Sets the value of field 'comment'.
|
void |
setContactType(String contactType)
Sets the value of field 'contactType'.
|
void |
setExecute(String execute)
Sets the value of field 'execute'.
|
void |
setName(String name)
Sets the value of field 'name'.
|
public void addArgument(Argument vArgument) throws IndexOutOfBoundsException
vArgument
- IndexOutOfBoundsException
- if the index given is outside
the bounds of the collectionpublic void addArgument(int index, Argument vArgument) throws IndexOutOfBoundsException
index
- vArgument
- IndexOutOfBoundsException
- if the index given is outside
the bounds of the collectionpublic Enumeration<Argument> enumerateArgument()
public boolean equals(Object obj)
public Argument getArgument(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index given is outside
the bounds of the collectionpublic Argument[] getArgument()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<Argument> getArgumentCollection()
public int getArgumentCount()
public String getBinary()
public String getComment()
public String getContactType()
public String getExecute()
public String getName()
public int hashCode()
public Iterator<Argument> iterateArgument()
public void removeAllArgument()
public boolean removeArgument(Argument vArgument)
vArgument
- public Argument removeArgumentAt(int index)
index
- public void setArgument(int index, Argument vArgument) throws IndexOutOfBoundsException
index
- vArgument
- IndexOutOfBoundsException
- if the index given is outside
the bounds of the collectionpublic void setArgument(Argument[] vArgumentArray)
vArgumentArray
- public void setArgument(List<Argument> vArgumentList)
vArgumentList
- the Vector to copy.public void setArgumentCollection(List<Argument> argumentList)
argumentList
- the Vector to set.public void setBinary(String binary)
binary
- the value of field 'binary'.public void setComment(String comment)
comment
- the value of field 'comment'.public void setContactType(String contactType)
contactType
- the value of field 'contactType'.public void setExecute(String execute)
execute
- the value of field 'execute'.public void setName(String name)
name
- the value of field 'name'.Copyright © 2017. All rights reserved.