org.sql.generation.implementation.grammar.booleans
Class BooleanTestImpl

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.ComposedBooleanExpressionImpl<BooleanTest>
              extended by org.sql.generation.implementation.grammar.booleans.BooleanTestImpl
All Implemented Interfaces:
Iterable<BooleanExpression>, org.atp.api.Typeable<ValueExpression>, BooleanExpression, BooleanTest, ComposedBooleanExpression, ValueExpression

public class BooleanTestImpl
extends ComposedBooleanExpressionImpl<BooleanTest>
implements BooleanTest

Author:
Stanislav Muhametsin

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.sql.generation.api.grammar.booleans.BooleanTest
BooleanTest.TestType, BooleanTest.TruthValue
 
Nested classes/interfaces inherited from interface org.sql.generation.api.grammar.booleans.BooleanExpression
BooleanExpression.False, BooleanExpression.True
 
Constructor Summary
  BooleanTestImpl(BooleanExpression expression, BooleanTest.TestType testType, BooleanTest.TruthValue truthValue)
           
protected BooleanTestImpl(Class<? extends BooleanTest> expressionClass, BooleanExpression expression, BooleanTest.TestType testType, BooleanTest.TruthValue truthValue)
           
 
Method Summary
 BooleanExpression getBooleanExpression()
           
 BooleanTest.TestType getTestType()
           
 BooleanTest.TruthValue getTruthValue()
           
 Iterator<BooleanExpression> iterator()
           
 
Methods inherited from class org.sql.generation.implementation.grammar.booleans.ComposedBooleanExpressionImpl
doesEqual
 
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

BooleanTestImpl

public BooleanTestImpl(BooleanExpression expression,
                       BooleanTest.TestType testType,
                       BooleanTest.TruthValue truthValue)

BooleanTestImpl

protected BooleanTestImpl(Class<? extends BooleanTest> expressionClass,
                          BooleanExpression expression,
                          BooleanTest.TestType testType,
                          BooleanTest.TruthValue truthValue)
Method Detail

getBooleanExpression

public BooleanExpression getBooleanExpression()
Specified by:
getBooleanExpression in interface BooleanTest

getTestType

public BooleanTest.TestType getTestType()
Specified by:
getTestType in interface BooleanTest

getTruthValue

public BooleanTest.TruthValue getTruthValue()
Specified by:
getTruthValue in interface BooleanTest

iterator

public Iterator<BooleanExpression> iterator()
Specified by:
iterator in interface Iterable<BooleanExpression>


Copyright © 2010. All Rights Reserved.