Class JDOObject
- java.lang.Object
-
- net.ontopia.persistence.query.jdo.JDOObject
-
- All Implemented Interfaces:
JDOValueIF
public class JDOObject extends Object implements JDOValueIF
INTERNAL: JDOQL value: object. Class used to represent object instances recognized by the storage system, e.g. PersistentIFs.
-
-
Field Summary
Fields Modifier and Type Field Description protected Object
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.Object
getValue()
Class
getValueType()
int
hashCode()
String
toString()
void
visit(JDOVisitorIF visitor)
INTERNAL: Allows the value to be visited.
-
-
-
Field Detail
-
value
protected Object value
-
-
Constructor Detail
-
JDOObject
public JDOObject(Object 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
-
getValueType
public Class getValueType()
-
getValue
public Object 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
-
-