|
ABLE 2.0.0 07/02/2003 10:25:01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.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 DecisionDataHandle
com.ibm.conversation.DecisionDataHandle
public void setName(java.lang.String newName)
DecisionDataHandle
setName
in interface DecisionDataHandle
com.ibm.conversation.DecisionDataHandle
newName
- The name of the decision or decision-request.public int getNumArgs()
DecisionDataHandle
getNumArgs
in interface DecisionDataHandle
com.ibm.conversation.DecisionDataHandle
public java.lang.Object[] getArgs()
DecisionDataHandle
getArgs
in interface DecisionDataHandle
com.ibm.conversation.DecisionDataHandle
public void setArgs(java.lang.Object[] newArgs)
DecisionDataHandle
setArgs
in interface DecisionDataHandle
com.ibm.conversation.DecisionDataHandle
newArgs
- The parameters to the decision or decision-request.public java.lang.Object getArg(int index)
DecisionDataHandle
getArg
in interface DecisionDataHandle
com.ibm.conversation.DecisionDataHandle
index
- The index of the parameterpublic void setArg(int index, java.lang.Object newArg)
DecisionDataHandle
setArg
in interface DecisionDataHandle
com.ibm.conversation.DecisionDataHandle
index
- The index of the parameter to set.newArg
- The new parameter.public java.lang.Class[] getArgTypes()
DecisionDataHandle
getArgTypes
in interface DecisionDataHandle
com.ibm.conversation.DecisionDataHandle
null
if not defined.public java.lang.String toString()
This is defined for debugging and unit testing purposes.
toString
in class java.lang.Object
|
ABLE 2.0.0 07/02/2003 10:25:01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |