com.triactive.jdo.store.sql.expr.op
Class DyadicOperator

java.lang.Object
  extended bycom.triactive.jdo.store.sql.expr.op.Operator
      extended bycom.triactive.jdo.store.sql.expr.op.DyadicOperator
Direct Known Subclasses:
BooleanOperator, NumericOperator

public abstract class DyadicOperator
extends Operator


Field Summary
 
Fields inherited from class com.triactive.jdo.store.sql.expr.op.Operator
precedence, sql
 
Constructor Summary
DyadicOperator(java.lang.String sql, int precedence, boolean isAssociative)
           
 
Method Summary
 boolean isHigherThanLeftSide(Operator op)
           
 boolean isHigherThanRightSide(Operator op)
           
abstract  java.lang.Class resultType(java.lang.Class operand1Type, java.lang.Class operand2Type)
           
 
Methods inherited from class com.triactive.jdo.store.sql.expr.op.Operator
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DyadicOperator

public DyadicOperator(java.lang.String sql,
                      int precedence,
                      boolean isAssociative)
Method Detail

isHigherThanLeftSide

public boolean isHigherThanLeftSide(Operator op)

isHigherThanRightSide

public boolean isHigherThanRightSide(Operator op)

resultType

public abstract java.lang.Class resultType(java.lang.Class operand1Type,
                                           java.lang.Class operand2Type)


Copyright © 2001-2007 The TJDO Project All Rights Reserved.