Class JDOLike
- java.lang.Object
-
- net.ontopia.persistence.query.jdo.JDOLike
-
- All Implemented Interfaces:
JDOExpressionIF
public class JDOLike extends Object implements JDOExpressionIF
INTERNAL: JDOQL method: String.like(String). Syntax: 'A.like("value")'
-
-
Field Summary
Fields Modifier and Type Field Description protected booleancaseSensitiveprotected JDOValueIFleftprotected JDOValueIFright-
Fields inherited from interface net.ontopia.persistence.query.jdo.JDOExpressionIF
AND, BOOLEAN, CONTAINS, ENDS_WITH, EQUALS, IS_EMPTY, LIKE, NOT, NOT_EQUALS, OR, SET_OPERATION, STARTS_WITH, VALUE_EXPRESSION
-
-
Constructor Summary
Constructors Constructor Description JDOLike(JDOValueIF left, JDOValueIF right, boolean caseSensitive)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)booleangetCaseSensitive()JDOValueIFgetLeft()JDOValueIFgetRight()intgetType()INTERNAL: Returns the type of JDO expression indicated by one of the constants in theJDOExpressionIFinterface.inthashCode()StringtoString()voidvisit(JDOVisitorIF visitor)INTERNAL: Allows the value to be visited.
-
-
-
Field Detail
-
left
protected JDOValueIF left
-
right
protected JDOValueIF right
-
caseSensitive
protected boolean caseSensitive
-
-
Constructor Detail
-
JDOLike
public JDOLike(JDOValueIF left, JDOValueIF right, boolean caseSensitive)
-
-
Method Detail
-
getType
public int getType()
Description copied from interface:JDOExpressionIFINTERNAL: Returns the type of JDO expression indicated by one of the constants in theJDOExpressionIFinterface.- Specified by:
getTypein interfaceJDOExpressionIF
-
getLeft
public JDOValueIF getLeft()
-
getRight
public JDOValueIF getRight()
-
getCaseSensitive
public boolean getCaseSensitive()
-
visit
public void visit(JDOVisitorIF visitor)
Description copied from interface:JDOExpressionIFINTERNAL: Allows the value to be visited. This method is used for retrieval of nested data in expressions.- Specified by:
visitin interfaceJDOExpressionIF
-
-