org.sql.generation.api.grammar.booleans
Interface BooleanTest

All Superinterfaces:
BooleanExpression, ComposedBooleanExpression, java.lang.Iterable<BooleanExpression>, org.atp.api.Typeable<ValueExpression>, ValueExpression

public interface BooleanTest
extends ComposedBooleanExpression

The interface for syntax element representing <X> IS [NOT] (TRUE | FALSE | UNKNOWN) expression (boolean test), where <X> is some boolean expression.

Author:
Stanislav Muhametsin

Nested Class Summary
static class BooleanTest.TestType
          The type of the test.
static class BooleanTest.TruthValue
          The tested truth value.
 
Nested classes/interfaces inherited from interface org.sql.generation.api.grammar.booleans.BooleanExpression
BooleanExpression.False, BooleanExpression.True
 
Method Summary
 BooleanExpression getBooleanExpression()
          Returns the boolean expression to be tested.
 BooleanTest.TestType getTestType()
          Returns the test type - whether it should, or should not, be something.
 BooleanTest.TruthValue getTruthValue()
          The truth value which must evaluate from the expression.
 
Methods inherited from interface org.atp.api.Typeable
getImplementedType
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

getBooleanExpression

BooleanExpression getBooleanExpression()
Returns the boolean expression to be tested.

Returns:
The boolean expression to be tested.

getTestType

BooleanTest.TestType getTestType()
Returns the test type - whether it should, or should not, be something.

Returns:
The test type.

getTruthValue

BooleanTest.TruthValue getTruthValue()
The truth value which must evaluate from the expression.

Returns:
The truth value which must evaluate from the expression.


Copyright © 2010. All Rights Reserved.