org.makumba.providers.datadefinition.mdd
Class ComparisonExpressionNode
java.lang.Object
antlr.BaseAST
antlr.CommonAST
org.makumba.providers.datadefinition.mdd.MDDAST
org.makumba.providers.datadefinition.mdd.ComparisonExpressionNode
- All Implemented Interfaces:
- antlr.collections.AST, Serializable
public class ComparisonExpressionNode
- extends MDDAST
Node that holds data of a comparison expression of the kind RHS operator LHS, where RHS/LHS can be either a field
name, a date constant or construct, or a function applied to a field
- Version:
- $Id: ComparisonExpressionNode.java,v 1.1 08.07.2009 16:01:49 gaym Exp $
- Author:
- Manuel Gay
- See Also:
- Serialized Form
Fields inherited from class antlr.BaseAST |
down, right |
Methods inherited from class antlr.CommonAST |
getText, getType, initialize, setText, setType |
Methods inherited from class antlr.BaseAST |
addChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getFirstChild, getNextSibling, getNumberOfChildren, getTokenNames, removeChildren, setFirstChild, setNextSibling, setVerboseStringConversion, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpen |
ComparisonExpressionNode
public ComparisonExpressionNode()
getLhs_date
public Date getLhs_date()
setLhs_date
public void setLhs_date(Date lhs_date)
getRhs_date
public Date getRhs_date()
setRhs_date
public void setRhs_date(Date rhs_date)
getOperatorType
public int getOperatorType()
getOperator
public String getOperator()
isEqualityOperator
public boolean isEqualityOperator()
getInvertedOperator
public String getInvertedOperator()
setOperatorType
public void setOperatorType(int op)
getComparisonType
public ComparisonExpressionNode.ComparisonType getComparisonType()
setComparisonType
public void setComparisonType(ComparisonExpressionNode.ComparisonType type)
getLhs
public String getLhs()
setLhs
public void setLhs(String lhs)
getLhs_type
public int getLhs_type()
setLhs_type
public void setLhs_type(int lhs_type)
getRhs
public String getRhs()
setRhs
public void setRhs(String rhs)
getRhs_type
public int getRhs_type()
setRhs_type
public void setRhs_type(int rhs_type)
toString
public String toString()
- Specified by:
toString
in interface antlr.collections.AST
- Overrides:
toString
in class antlr.BaseAST