org.teiid.connector.language
Interface ILikeCriteria

All Superinterfaces:
ICriteria, ILanguageObject, IPredicateCriteria

public interface ILikeCriteria
extends IPredicateCriteria

Represents a LIKE criteria in the language.


Method Summary
 java.lang.Character getEscapeCharacter()
          Get escape character, if one is defined.
 IExpression getLeftExpression()
          Get left expression.
 IExpression getRightExpression()
          Get right expression.
 boolean isNegated()
          Returns whether this criteria is negated.
 void setEscapeCharacter(java.lang.Character character)
          Set escape character, if one is defined.
 void setLeftExpression(IExpression expression)
          Set left expression of criteria
 void setNegated(boolean negated)
          Sets whether this criteria is negated.
 void setRightExpression(IExpression expression)
          Set left expression of criteria
 
Methods inherited from interface org.teiid.connector.language.ILanguageObject
acceptVisitor
 

Method Detail

getLeftExpression

IExpression getLeftExpression()
Get left expression.

Returns:
Left expression

setLeftExpression

void setLeftExpression(IExpression expression)
Set left expression of criteria


getRightExpression

IExpression getRightExpression()
Get right expression.

Returns:
Right expression

setRightExpression

void setRightExpression(IExpression expression)
Set left expression of criteria


getEscapeCharacter

java.lang.Character getEscapeCharacter()
Get escape character, if one is defined.

Returns:
Escape character or null if none is defined.

setEscapeCharacter

void setEscapeCharacter(java.lang.Character character)
Set escape character, if one is defined.

Parameters:
character - Escape character or null if none is defined.

isNegated

boolean isNegated()
Returns whether this criteria is negated.

Returns:
flag indicating whether this criteria contains a NOT

setNegated

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

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


Copyright © 2009. All Rights Reserved.