public class ActionEvent extends Object implements Serializable
Constructor and Description |
---|
ActionEvent() |
ActionEvent(String name,
boolean forEachResult,
boolean addAllParms,
List<Assignment> assignments) |
Modifier and Type | Method and Description |
---|---|
void |
addAssignment(Assignment vAssignment) |
void |
addAssignment(int index,
Assignment vAssignment) |
Enumeration<Assignment> |
enumerateAssignment()
Method enumerateAssignment.
|
boolean |
equals(Object obj)
Overrides the Object.equals method.
|
boolean |
getAddAllParms()
Returns the value of field 'addAllParms'.
|
Assignment[] |
getAssignment()
Method getAssignment.Returns the contents of the collection in an
Array.
|
Assignment |
getAssignment(int index)
Method getAssignment.
|
List<Assignment> |
getAssignmentCollection()
Method getAssignmentCollection.Returns a reference to
'_assignmentList'.
|
int |
getAssignmentCount()
Method getAssignmentCount.
|
boolean |
getForEachResult()
Returns the value of field 'forEachResult'.
|
String |
getName()
Returns the value of field 'name'.
|
int |
hashCode()
Overrides the Object.hashCode method.
|
boolean |
isAddAllParms()
Returns the value of field 'addAllParms'.
|
boolean |
isForEachResult()
Returns the value of field 'forEachResult'.
|
Iterator<Assignment> |
iterateAssignment()
Method iterateAssignment.
|
void |
removeAllAssignment() |
boolean |
removeAssignment(Assignment vAssignment)
Method removeAssignment.
|
Assignment |
removeAssignmentAt(int index)
Method removeAssignmentAt.
|
void |
setAddAllParms(boolean addAllParms)
Sets the value of field 'addAllParms'.
|
void |
setAssignment(Assignment[] vAssignmentArray) |
void |
setAssignment(int index,
Assignment vAssignment) |
void |
setAssignment(List<Assignment> vAssignmentList)
Sets the value of '_assignmentList' by copying the given Vector.
|
void |
setForEachResult(boolean forEachResult)
Sets the value of field 'forEachResult'.
|
void |
setName(String name)
Sets the value of field 'name'.
|
public ActionEvent()
public ActionEvent(String name, boolean forEachResult, boolean addAllParms, List<Assignment> assignments)
public void addAssignment(Assignment vAssignment) throws IndexOutOfBoundsException
vAssignment
- IndexOutOfBoundsException
- if the index given is outside the bounds of the collectionpublic void addAssignment(int index, Assignment vAssignment) throws IndexOutOfBoundsException
index
- vAssignment
- IndexOutOfBoundsException
- if the index given is outside the bounds of the collectionpublic Enumeration<Assignment> enumerateAssignment()
public boolean equals(Object obj)
public boolean getAddAllParms()
public Assignment getAssignment(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index given is outside the bounds of the collectionpublic Assignment[] getAssignment()
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<Assignment> getAssignmentCollection()
public int getAssignmentCount()
public boolean getForEachResult()
public String getName()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public boolean isAddAllParms()
public boolean isForEachResult()
public Iterator<Assignment> iterateAssignment()
public void removeAllAssignment()
public boolean removeAssignment(Assignment vAssignment)
vAssignment
- public Assignment removeAssignmentAt(int index)
index
- public void setAddAllParms(boolean addAllParms)
addAllParms
- the value of field 'addAllParms'.public void setAssignment(int index, Assignment vAssignment) throws IndexOutOfBoundsException
index
- vAssignment
- IndexOutOfBoundsException
- if the index given is outside the bounds of the collectionpublic void setAssignment(Assignment[] vAssignmentArray)
vAssignmentArray
- public void setAssignment(List<Assignment> vAssignmentList)
vAssignmentList
- the Vector to copy.public void setForEachResult(boolean forEachResult)
forEachResult
- the value of field 'forEachResult'.public void setName(String name)
name
- the value of field 'name'.Copyright © 2015. All rights reserved.