public abstract class AbstractActionCondition extends Object implements ActionCondition
| Modifier and Type | Field and Description | 
|---|---|
protected String | 
m_LeftOperand  | 
protected String | 
m_Operation  | 
protected String | 
m_RightOperand  | 
| Constructor and Description | 
|---|
AbstractActionCondition()
Constructs an ActionCondition initializing the validity check support. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
addOperation(String operation)
Adds an operation to the valid list of operations. 
 | 
String | 
getLeftOperand()
Returns the left operand. 
 | 
String | 
getOperation()
Returns the current operation. 
 | 
String | 
getRightOperand()
Returns the right operand. 
 | 
void | 
setLeftOperand(String operand)
Sets the left operand for the current operation. 
 | 
void | 
setOperation(String operation)
Sets the operation to perform on the left and right operands. 
 | 
void | 
setRightOperand(String operand)
Sets the right operand for the current operation. 
 | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitevaluateprotected String m_Operation
protected String m_LeftOperand
protected String m_RightOperand
public AbstractActionCondition()
public String getLeftOperand()
getLeftOperand in interface ActionConditionpublic String getRightOperand()
getRightOperand in interface ActionConditionpublic String getOperation()
getOperation in interface ActionConditionpublic void setLeftOperand(String operand)
setLeftOperand in interface ActionConditionoperand - String specifying the left operand.public void setRightOperand(String operand)
setRightOperand in interface ActionConditionoperand - String specifying the right operand.public void setOperation(String operation)
setOperation in interface ActionConditionoperation - String specifying the operation.IllegalArgumentException - If an invalid operation is specified.protected void addOperation(String operation)
operation - String A supported operation.Copyright © 2025. All rights reserved.