|
ABLE 2.3.0 07/13/2005 14:21:00 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectcom.ibm.conversation.base.BasicDecisionDataHandle
Class BasicDecisionDataHandle is a straightforward, vanilla-Java implementation of the DecisionDataHandle interface.
| Constructor Summary | |
|---|---|
BasicDecisionDataHandle()
Constructs a BasicDecisionDataHandle object with null data members. |
|
BasicDecisionDataHandle(java.lang.String newName,
java.lang.Object[] newArgs)
Constructs a BasicDecisionDataHandle object with the given data members. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getArg(int index)
Returns the given parameter to the decision or decision-request. |
java.lang.Object[] |
getArgs()
Returns the parameters to the decision or decision-request. |
java.lang.Class[] |
getArgTypes()
Returns the class types of the parameters. |
java.lang.String |
getName()
Returns the name of the decision or decision-request. |
int |
getNumArgs()
Returns the number of parameters to the decision or decision-request. |
void |
setArg(int index,
java.lang.Object newArg)
Sets the parameter at the given index. |
void |
setArgs(java.lang.Object[] newArgs)
Sets the parameters to the decision or decision-request. |
void |
setName(java.lang.String newName)
Sets the name of the decision or decision-request. |
java.lang.String |
toString()
Returns a one-line String representation of the decision name and args. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public BasicDecisionDataHandle()
null data members.
public BasicDecisionDataHandle(java.lang.String newName,
java.lang.Object[] newArgs)
newName - The decision name.newArgs - The decision args.| Method Detail |
public java.lang.String getName()
DecisionDataHandle
getName in interface DecisionDataHandlepublic void setName(java.lang.String newName)
DecisionDataHandle
setName in interface DecisionDataHandlenewName - The name of the decision or decision-request.public int getNumArgs()
DecisionDataHandle
getNumArgs in interface DecisionDataHandlepublic java.lang.Object[] getArgs()
DecisionDataHandle
getArgs in interface DecisionDataHandlepublic void setArgs(java.lang.Object[] newArgs)
DecisionDataHandle
setArgs in interface DecisionDataHandlenewArgs - The parameters to the decision or decision-request.public java.lang.Object getArg(int index)
DecisionDataHandle
getArg in interface DecisionDataHandleindex - The index of the parameter
public void setArg(int index,
java.lang.Object newArg)
DecisionDataHandle
setArg in interface DecisionDataHandleindex - The index of the parameter to set.newArg - The new parameter.public java.lang.Class[] getArgTypes()
DecisionDataHandle
getArgTypes in interface DecisionDataHandlenull if not defined.public java.lang.String toString()
This is defined for debugging and unit testing purposes.
|
ABLE 2.3.0 07/13/2005 14:21:00 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||