org.makumba.providers.datadefinition.mdd
Class ComparisonExpressionNode

java.lang.Object
  extended by antlr.BaseAST
      extended by antlr.CommonAST
          extended by org.makumba.providers.datadefinition.mdd.MDDAST
              extended by 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

Nested Class Summary
static class ComparisonExpressionNode.ComparisonType
           
 
Field Summary
 
Fields inherited from class org.makumba.providers.datadefinition.mdd.MDDAST
makumbaType, wasIncluded
 
Fields inherited from class antlr.BaseAST
down, right
 
Constructor Summary
ComparisonExpressionNode()
           
 
Method Summary
 ComparisonExpressionNode.ComparisonType getComparisonType()
           
 String getInvertedOperator()
           
 Date getLhs_date()
           
 int getLhs_type()
           
 String getLhs()
           
 String getOperator()
           
 int getOperatorType()
           
 Date getRhs_date()
           
 int getRhs_type()
           
 String getRhs()
           
 boolean isEqualityOperator()
           
 void setComparisonType(ComparisonExpressionNode.ComparisonType type)
           
 void setLhs_date(Date lhs_date)
           
 void setLhs_type(int lhs_type)
           
 void setLhs(String lhs)
           
 void setOperatorType(int op)
           
 void setRhs_date(Date rhs_date)
           
 void setRhs_type(int rhs_type)
           
 void setRhs(String rhs)
           
 String toString()
           
 
Methods inherited from class org.makumba.providers.datadefinition.mdd.MDDAST
getColumn, getLine, initialize, initialize, setCol, setLine
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ComparisonExpressionNode

public ComparisonExpressionNode()
Method Detail

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