Class SQLLike
- java.lang.Object
-
- net.ontopia.persistence.query.sql.SQLLike
-
- All Implemented Interfaces:
SQLExpressionIF
public class SQLLike extends Object implements SQLExpressionIF
INTERNAL: SQL condition: likeA LIKE condition specifies a test involving pattern matching. Note that right value must be a pattern, i.e. a string.
-
-
Field Summary
Fields Modifier and Type Field Description protected booleancaseSensitiveprotected SQLValueIFleftprotected SQLValueIFright-
Fields inherited from interface net.ontopia.persistence.query.sql.SQLExpressionIF
AND, EQUALS, EXISTS, FALSE, IN, IS_NULL, JOIN, LIKE, NOT, NOT_EQUALS, OR, SET_OPERATION, VALUE_EXPRESSION, VERBATIM
-
-
Constructor Summary
Constructors Constructor Description SQLLike(SQLValueIF left, SQLValueIF right, boolean caseSensitive)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetCaseSensitive()SQLValueIFgetLeft()SQLValueIFgetRight()intgetType()INTERNAL: Returns the expression type.voidsetCaseSensitive(boolean caseSensitive)voidsetLeft(SQLValueIF left)voidsetRight(SQLValueIF right)StringtoString()
-
-
-
Field Detail
-
left
protected SQLValueIF left
-
right
protected SQLValueIF right
-
caseSensitive
protected boolean caseSensitive
-
-
Constructor Detail
-
SQLLike
public SQLLike(SQLValueIF left, SQLValueIF right, boolean caseSensitive)
-
-
Method Detail
-
getType
public int getType()
Description copied from interface:SQLExpressionIFINTERNAL: Returns the expression type. The type is represented by one of the constants in theSQLExpressionIFinterface.- Specified by:
getTypein interfaceSQLExpressionIF
-
getLeft
public SQLValueIF getLeft()
-
setLeft
public void setLeft(SQLValueIF left)
-
getRight
public SQLValueIF getRight()
-
setRight
public void setRight(SQLValueIF right)
-
getCaseSensitive
public boolean getCaseSensitive()
-
setCaseSensitive
public void setCaseSensitive(boolean caseSensitive)
-
-