net.sf.dewdrop.sqlml.expr
Class Expression
java.lang.Object
net.sf.dewdrop.sqlml.SqlmlComponent
net.sf.dewdrop.sqlml.expr.Expression
- Direct Known Subclasses:
- BooleanExpression
- public abstract class Expression
- extends SqlmlComponent
- Author:
- Les Hazlewood
Methods inherited from class net.sf.dewdrop.sqlml.SqlmlComponent |
getIndentLevel, i18n, i18n, i18n, onWriteSql, setIndentLevel, toSql, toSql, toSql, toString, writeSql, writeSql, writeSql |
DEFAULT_OPERAND_COUNT
protected static final int DEFAULT_OPERAND_COUNT
- See Also:
- Constant Field Values
maxOperands
protected int maxOperands
operands
protected final List operands
- A
List
of SqlmlComponent
s.
Expression
protected Expression()
setMaxOperands
protected void setMaxOperands(int maxAllowed)
getMaxOperands
public int getMaxOperands()
getNumOperands
public int getNumOperands()
setOperand
public void setOperand(int index,
Object operand)
getOperand
public Object getOperand(int index)
addOperand
public void addOperand(Object operand)
- Adds the specified operand to the end of this expression's operand list.
- Parameters:
operand
- the operand to append to the operand list
equals
public boolean equals(Object toCheck)
- Overrides:
equals
in class SqlmlComponent
hashCode
public int hashCode()