org.teiid.language
Class BaseInCondition

java.lang.Object
  extended by org.teiid.language.BaseLanguageObject
      extended by org.teiid.language.Condition
          extended by org.teiid.language.BaseInCondition
All Implemented Interfaces:
Expression, LanguageObject, Predicate
Direct Known Subclasses:
In, SubqueryIn

public abstract class BaseInCondition
extends Condition
implements Predicate


Constructor Summary
BaseInCondition(Expression leftExpression, boolean negated)
           
 
Method Summary
 Expression getLeftExpression()
          Get left expression of IN criteria
 boolean isNegated()
          Returns whether this criteria is negated.
 void setLeftExpression(Expression leftExpression)
          Set left expression of IN criteria
 void setNegated(boolean negated)
          Sets whether this criteria is negated.
 
Methods inherited from class org.teiid.language.Condition
getType
 
Methods inherited from class org.teiid.language.BaseLanguageObject
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.teiid.language.LanguageObject
acceptVisitor
 

Constructor Detail

BaseInCondition

public BaseInCondition(Expression leftExpression,
                       boolean negated)
Method Detail

getLeftExpression

public Expression getLeftExpression()
Get left expression of IN criteria

Returns:
Left expression

setLeftExpression

public void setLeftExpression(Expression leftExpression)
Set left expression of IN criteria


isNegated

public boolean isNegated()
Returns whether this criteria is negated.

Returns:
flag indicating whether this criteria contains a NOT

setNegated

public void setNegated(boolean negated)
Sets whether this criteria is negated.

Parameters:
negated - Flag indicating whether this criteria contains a NOT


Copyright © 2010. All Rights Reserved.