public class SimpleExpression extends AbstractExpression
Simple expression
Copyright: Copyright (c) 2005
Company: IST, Drexel University
expressionType, optrEXPRESSION_BOOL, EXPRESSION_SIMPLE| Constructor and Description |
|---|
SimpleExpression(String[] expression) |
SimpleExpression(String field,
Operator optr,
Object testValue) |
| Modifier and Type | Method and Description |
|---|---|
Expression |
getChild(int index)
This method returns null for simple expressions.
|
int |
getChildNum()
This method returns zero for simple expressions.
|
String |
getField() |
Operator |
getOperator() |
Object |
getTestValue() |
String |
toSQLExpression() |
String |
toString() |
isBoolExpression, isSimpleExpressionpublic SimpleExpression(String[] expression)
public int getChildNum()
Expressionpublic Expression getChild(int index)
Expressionindex - the index of the child expressionpublic String toSQLExpression()
public String toString()
toString in interface ExpressiontoString in class Objectpublic String getField()
public Object getTestValue()
public Operator getOperator()
getOperator in interface ExpressiongetOperator in class AbstractExpressionCopyright © 2018 JULIE Lab, Germany. All rights reserved.