org.azzyzt.jee.runtime.dto.query
Class BinaryFieldExpression

java.lang.Object
  extended by org.azzyzt.jee.runtime.dto.query.Expression
      extended by org.azzyzt.jee.runtime.dto.query.FieldExpression
          extended by org.azzyzt.jee.runtime.dto.query.BinaryFieldExpression
All Implemented Interfaces:
java.io.Serializable, FieldReferer

public class BinaryFieldExpression
extends FieldExpression

A binary field expression is a FieldExpresssion with a binary operator. It always involves one field, the second Operand can either be a Literal or a FieldReference as well.

See Also:
Operand, BinaryFieldOperator, FieldReference, Serialized Form

Constructor Summary
BinaryFieldExpression()
           
BinaryFieldExpression(FieldReference fieldReference, BinaryFieldOperator op, Operand operand, boolean isNegated)
           
 
Method Summary
 BinaryFieldOperator getOp()
           
 Operand getOperand()
           
 boolean isValid()
           
 void setOp(BinaryFieldOperator op)
           
 void setOperand(Operand operand)
           
 
Methods inherited from class org.azzyzt.jee.runtime.dto.query.FieldExpression
getFieldName, getReplaceableBy, isCaseSensitive, isNegated, setCaseSensitive, setFieldName, setNegated
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinaryFieldExpression

public BinaryFieldExpression()

BinaryFieldExpression

public BinaryFieldExpression(FieldReference fieldReference,
                             BinaryFieldOperator op,
                             Operand operand,
                             boolean isNegated)
Method Detail

getOp

public BinaryFieldOperator getOp()

setOp

public void setOp(BinaryFieldOperator op)

getOperand

public Operand getOperand()

setOperand

public void setOperand(Operand operand)

isValid

public boolean isValid()
Overrides:
isValid in class FieldExpression