|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
java.lang.Object | +--com.sas.util.AbstractCondition
| Field Summary | |
static int |
DATATYPE_CHARACTER
|
static int |
DATATYPE_NUMERIC
|
static int |
OPERATOR_EQ
|
static int |
OPERATOR_GE
|
static int |
OPERATOR_GT
|
static int |
OPERATOR_LE
|
static int |
OPERATOR_LT
|
static int |
OPERATOR_NE
|
| Constructor Summary | |
AbstractCondition()
|
|
| Method Summary | |
abstract Object |
evaluate(ConditionEvaluationInterface conditionEvaluationInterface,
Object[] values)
Method evaluate. |
protected boolean |
evaluateCondition(ConditionEvaluationInterface conditionEvaluationInterface,
Object[] values)
Method evaluateCondition. |
Object |
getIdentifier()
Returns the identifier. |
String |
getLeftExpression()
Returns the leftExpression. |
int |
getOperator()
Returns the operator. |
String |
getRightExpression()
Returns the rightExpression. |
void |
setIdentifier(Object identifier)
Sets the identifier. |
void |
setLeftExpression(String leftExpression)
Sets the leftExpression. |
void |
setOperator(int operator)
Sets the operator. |
void |
setRightExpression(String rightExpression)
Sets the rightExpression. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int OPERATOR_EQ
public static final int OPERATOR_GT
public static final int OPERATOR_GE
public static final int OPERATOR_LT
public static final int OPERATOR_LE
public static final int OPERATOR_NE
public static final int DATATYPE_NUMERIC
public static final int DATATYPE_CHARACTER
| Constructor Detail |
public AbstractCondition()
| Method Detail |
public Object getIdentifier()
public String getLeftExpression()
public int getOperator()
public String getRightExpression()
public void setIdentifier(Object identifier)
identifier - The identifier to setpublic void setLeftExpression(String leftExpression)
leftExpression - The leftExpression to setpublic void setOperator(int operator)
operator - The operator to setpublic void setRightExpression(String rightExpression)
rightExpression - The rightExpression to set
protected boolean evaluateCondition(ConditionEvaluationInterface conditionEvaluationInterface,
Object[] values)
conditionEvaluationInterface - values - the row values needed for the evaluation.
public abstract Object evaluate(ConditionEvaluationInterface conditionEvaluationInterface,
Object[] values)
conditionEvaluationInterface - values - the row values which is needed for the condition evaluation
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||