org.sql.generation.implementation.grammar.booleans
Class UnaryPredicateImpl<ExpressionType extends UnaryPredicate>

java.lang.Object
  extended by org.atp.spi.TypeableImpl<ValueExpression,ExpressionType>
      extended by org.sql.generation.implementation.grammar.booleans.AbstractBooleanExpression<ExpressionType>
          extended by org.sql.generation.implementation.grammar.booleans.UnaryPredicateImpl<ExpressionType>
All Implemented Interfaces:
org.atp.api.Typeable<ValueExpression>, BooleanExpression, Predicate, UnaryPredicate, ValueExpression
Direct Known Subclasses:
ExistsPredicateImpl, IsNotNullPredicateImpl, IsNullPredicateImpl, UniquePredicateImpl

public abstract class UnaryPredicateImpl<ExpressionType extends UnaryPredicate>
extends AbstractBooleanExpression<ExpressionType>
implements UnaryPredicate

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
UnaryPredicateImpl(Class<? extends ExpressionType> expressionClass, NonBooleanExpression expression)
           
 
Method Summary
protected  boolean doesEqual(ExpressionType another)
           
 NonBooleanExpression getValueExpression()
           
 
Methods inherited from class org.atp.spi.TypeableImpl
bothNullOrEquals, equals, getImplementedType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.atp.api.Typeable
getImplementedType
 

Constructor Detail

UnaryPredicateImpl

public UnaryPredicateImpl(Class<? extends ExpressionType> expressionClass,
                          NonBooleanExpression expression)
Method Detail

getValueExpression

public NonBooleanExpression getValueExpression()
Specified by:
getValueExpression in interface UnaryPredicate

doesEqual

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


Copyright © 2010-2011. All Rights Reserved.