Class JDOString
- java.lang.Object
-
- net.ontopia.persistence.query.jdo.JDOString
-
- All Implemented Interfaces:
JDOValueIF
public class JDOString extends Object implements JDOValueIF
INTERNAL: JDOQL value: string. Class used to represent java.lang.String instances. Syntax: '"hello"'.
-
-
Field Summary
Fields Modifier and Type Field Description protected String
value
-
Fields inherited from interface net.ontopia.persistence.query.jdo.JDOValueIF
COLLECTION, FIELD, FUNCTION, NATIVE_VALUE, NULL, OBJECT, PARAMETER, PRIMITIVE, STRING, VARIABLE
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
getType()
INTERNAL: Returns the type of JDO value indicated by one of the constants in theJDOValueIF
interface.String
getValue()
int
hashCode()
String
toString()
void
visit(JDOVisitorIF visitor)
INTERNAL: Allows the value to be visited.
-
-
-
Field Detail
-
value
protected String value
-
-
Constructor Detail
-
JDOString
public JDOString(String value)
-
-
Method Detail
-
getType
public int getType()
Description copied from interface:JDOValueIF
INTERNAL: Returns the type of JDO value indicated by one of the constants in theJDOValueIF
interface.- Specified by:
getType
in interfaceJDOValueIF
-
getValue
public String getValue()
-
visit
public void visit(JDOVisitorIF visitor)
Description copied from interface:JDOValueIF
INTERNAL: Allows the value to be visited. This method is used for retrieval of nested data in expressions.- Specified by:
visit
in interfaceJDOValueIF
-
-