Class JDOStartsWith
- java.lang.Object
-
- net.ontopia.persistence.query.jdo.JDOStartsWith
-
- All Implemented Interfaces:
JDOExpressionIF
public class JDOStartsWith extends Object implements JDOExpressionIF
INTERNAL: JDOQL method: String.startsWith(String). Syntax: 'A.startsWith("prefix")'
-
-
Field Summary
Fields Modifier and Type Field Description protected 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 JDOStartsWith(JDOValueIF left, JDOValueIF right)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)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
-
-
Constructor Detail
-
JDOStartsWith
public JDOStartsWith(JDOValueIF left, JDOValueIF right)
-
-
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()
-
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
-
-