org.sql.generation.api.grammar.booleans
Class Predicate.EmptyPredicate

java.lang.Object
  extended by org.sql.generation.api.grammar.booleans.Predicate.EmptyPredicate
All Implemented Interfaces:
org.atp.api.Typeable<ValueExpression>, BooleanExpression, Predicate, ValueExpression
Enclosing interface:
Predicate

public static final class Predicate.EmptyPredicate
extends java.lang.Object
implements Predicate

A class representing empty predicate. The result of empty predicate is empty string. If empty predicate is encountered inside Conjunction or Disjunction, their operator is omitted. So, empty predicate AND something becomes just something.

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
 
Field Summary
static Predicate.EmptyPredicate INSTANCE
          Singleton instance of Predicate.EmptyPredicate.
 
Method Summary
 java.lang.Class<? extends BooleanExpression> getImplementedType()
          Returns Predicate.EmptyPredicate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final Predicate.EmptyPredicate INSTANCE
Singleton instance of Predicate.EmptyPredicate.

Method Detail

getImplementedType

public java.lang.Class<? extends BooleanExpression> getImplementedType()
Returns Predicate.EmptyPredicate.

Specified by:
getImplementedType in interface org.atp.api.Typeable<ValueExpression>


Copyright © 2010. All Rights Reserved.