IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.automaton
Interface GuardCondition

All Known Implementing Classes:
DSEGuardCondition

@ATTR(value={"onTrue#String#IMPLIED","onFalse#String#IMPLIED"})
public interface GuardCondition

Interface for a guardCondition of an Action.

Additional description


Field Summary
static java.lang.String COPYRIGHT
           
 
Method Summary
 boolean evaluate()
          Evaluate this Assertion.
 boolean getConditionResult()
          Returns a boolean indicating if the result of the condition is true or false
 java.lang.String getNewStateName()
          Returns the value of the newStateName property.
 int getOnFalse()
          Returns the value of the onFalse property.
 int getOnTrue()
          Returns the value of the onTrue property.
 DSEEventObject getSourceEvent()
          Returns the value of the sourceEvent property.
 void setConditionResult(boolean result)
          Sets a boolean indicating if the result of the condition is true or false
 void setContext(Context aContext)
          Sets the value of the Context property.
 void setNewStateName(java.lang.String aName)
          Sets the value of the newStateName property.
 void setOnFalse(int anAction)
          Sets the value of the OnFalse property.
 void setOnTrue(int anAction)
          Sets the value of the OnTrue property.
 void setSourceEvent(DSEEventObject newSourceEvent)
          Sets the value of the sourceEvent property.
 

Field Detail

COPYRIGHT

static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Method Detail

evaluate

boolean evaluate()
Evaluate this Assertion.

Returns:
boolean

getConditionResult

boolean getConditionResult()
Returns a boolean indicating if the result of the condition is true or false


getNewStateName

java.lang.String getNewStateName()
Returns the value of the newStateName property.

Returns:
java.lang.String

getOnFalse

int getOnFalse()
Returns the value of the onFalse property.

Returns:
int

getOnTrue

int getOnTrue()
Returns the value of the onTrue property.

Returns:
int

getSourceEvent

DSEEventObject getSourceEvent()
Returns the value of the sourceEvent property.

Returns:
com.ibm.btt.event.BTTProcessorEventObject

setConditionResult

void setConditionResult(boolean result)
Sets a boolean indicating if the result of the condition is true or false


setContext

void setContext(Context aContext)
Sets the value of the Context property.

Parameters:
aContext - com.ibm.btt.base.Context

setNewStateName

void setNewStateName(java.lang.String aName)
Sets the value of the newStateName property.

Parameters:
aName - java.lang.String

setOnFalse

void setOnFalse(int anAction)
Sets the value of the OnFalse property.

Parameters:
anAction - int

setOnTrue

void setOnTrue(int anAction)
Sets the value of the OnTrue property.

Parameters:
anAction - int

setSourceEvent

void setSourceEvent(DSEEventObject newSourceEvent)
Sets the value of the sourceEvent property.

Parameters:
newSourceEvent - com.ibm.btt.event.BTTProcessorEventObject

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2010