|
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 |
The DecisionDataHandle interface represents a decision made by, or a decision request sent to, the decision logic.
DecisionDataHandles are what gets passed between Conversations and DecisionLogicAdapters. Note: the utility of this interface is not clear at present; it may turn out to be preferable to pass the name & args directly, without this wrapper.
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. |
Method Detail |
public java.lang.String getName()
public void setName(java.lang.String newName)
newName
- The name of the decision or decision-request.public java.lang.Object[] getArgs()
public void setArgs(java.lang.Object[] newArgs)
newArgs
- The parameters to the decision or decision-request.public java.lang.Class[] getArgTypes()
null
if not defined.public int getNumArgs()
public java.lang.Object getArg(int index)
index
- The index of the parameterpublic void setArg(int index, java.lang.Object newArg)
index
- The index of the parameter to set.newArg
- The new parameter.
|
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 |