Class JDONativeValue
java.lang.Object
net.ontopia.persistence.query.jdo.JDONativeValue
- All Implemented Interfaces:
JDOValueIF
INTERNAL: JDOQL value: native value expression. Represents the
traversal from a variable to the value returned byte the native
expression. Syntax: 'A.{args}'. This might be useful when you know
that the root variable refers to a database table and that there
are a specific column that you want to get at.
-
Field Summary
FieldsFields inherited from interface net.ontopia.persistence.query.jdo.JDOValueIF
COLLECTION, FIELD, FUNCTION, NATIVE_VALUE, NULL, OBJECT, PARAMETER, PRIMITIVE, STRING, VARIABLE -
Constructor Summary
ConstructorsConstructorDescriptionJDONativeValue(JDOVariable root, String[] args, Class value_type) JDONativeValue(JDOVariable root, String arg, Class value_type) -
Method Summary
Modifier and TypeMethodDescriptionbooleanString[]getRoot()intgetType()INTERNAL: Returns the type of JDO value indicated by one of the constants in theJDOValueIFinterface.inthashCode()toString()voidvisit(JDOVisitorIF visitor) INTERNAL: Allows the value to be visited.
-
Field Details
-
root
-
args
-
value_type
-
-
Constructor Details
-
JDONativeValue
-
JDONativeValue
-
-
Method Details
-
getType
public int getType()Description copied from interface:JDOValueIFINTERNAL: Returns the type of JDO value indicated by one of the constants in theJDOValueIFinterface.- Specified by:
getTypein interfaceJDOValueIF
-
getRoot
-
getArguments
-
getValueType
-
hashCode
public int hashCode() -
equals
-
toString
-
visit
Description copied from interface:JDOValueIFINTERNAL: Allows the value to be visited. This method is used for retrieval of nested data in expressions.- Specified by:
visitin interfaceJDOValueIF
-