org.sql.generation.implementation.grammar.booleans
Class BinaryPredicateImpl<ExpressionType extends BinaryPredicate>

java.lang.Object
  extended by org.atp.spi.TypeableImpl<BaseInterfaceType,ActualInterfaceType>
      extended by org.sql.generation.implementation.grammar.common.SQLSyntaxElementBase<ValueExpression,ExpressionType>
          extended by org.sql.generation.implementation.grammar.booleans.AbstractBooleanExpression<ExpressionType>
              extended by org.sql.generation.implementation.grammar.booleans.BinaryPredicateImpl<ExpressionType>
All Implemented Interfaces:
org.atp.api.Typeable<ValueExpression>, BinaryPredicate, BooleanExpression, Predicate, ValueExpression
Direct Known Subclasses:
EqualsPredicateImpl, GreaterOrEqualPredicateImpl, GreaterThanPredicateImpl, LessOrEqualPredicateImpl, LessThanPredicateImpl, LikePredicateImpl, NotEqualsPredicateImpl, NotLikePredicateImpl, NotRegexpPredicateImpl, RegexpPredicateImpl

public abstract class BinaryPredicateImpl<ExpressionType extends BinaryPredicate>
extends AbstractBooleanExpression<ExpressionType>
implements BinaryPredicate

Author:
Stanislav Muhametsin

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.sql.generation.api.grammar.booleans.Predicate
Predicate.EmptyPredicate
 
Nested classes/interfaces inherited from interface org.sql.generation.api.grammar.booleans.BooleanExpression
BooleanExpression.False, BooleanExpression.True
 
Constructor Summary
protected BinaryPredicateImpl(SQLProcessorAggregator processor, Class<? extends ExpressionType> expressionClass, NonBooleanExpression left, NonBooleanExpression right)
           
 
Method Summary
protected  boolean doesEqual(ExpressionType another)
           
 NonBooleanExpression getLeft()
           
 NonBooleanExpression getRight()
           
 
Methods inherited from class org.sql.generation.implementation.grammar.common.SQLSyntaxElementBase
toString
 
Methods inherited from class org.atp.spi.TypeableImpl
bothNullOrEquals, equals, getImplementedType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.atp.api.Typeable
getImplementedType
 

Constructor Detail

BinaryPredicateImpl

protected BinaryPredicateImpl(SQLProcessorAggregator processor,
                              Class<? extends ExpressionType> expressionClass,
                              NonBooleanExpression left,
                              NonBooleanExpression right)
Method Detail

getLeft

public NonBooleanExpression getLeft()
Specified by:
getLeft in interface BinaryPredicate

getRight

public NonBooleanExpression getRight()
Specified by:
getRight in interface BinaryPredicate

doesEqual

protected boolean doesEqual(ExpressionType another)
Specified by:
doesEqual in class org.atp.spi.TypeableImpl<ValueExpression,ExpressionType extends BinaryPredicate>


Copyright © 2010-2012. All Rights Reserved.