Class JDOField
java.lang.Object
net.ontopia.persistence.query.jdo.JDOField
- All Implemented Interfaces:
JDOValueIF
INTERNAL: JDOQL value: instance field. Represents the traversal
from a value instance to the value of one of its fields. Syntax:
'A.field'.
-
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
ConstructorsConstructorDescriptionJDOField(JDOValueIF root, String name) JDOField(JDOValueIF root, String[] path) JDOField(JDOValueIF root, String[] path, boolean evaluatable) JDOField(JDOValueIF root, String name, boolean evaluatable) JDOField(JDOValueIF root, String name1, String name2) JDOField(JDOValueIF root, String name1, String name2, boolean evaluatable) JDOField(JDOValueIF root, String name1, String name2, String name3) JDOField(JDOValueIF root, String name1, String name2, String name3, boolean evaluatable) JDOField(JDOValueIF root, String name1, String name2, String name3, String name4, boolean evaluatable) JDOField(JDOValueIF root, String name1, String name2, String name3, String name4, String name5, boolean evaluatable) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanString[]getPath()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
-
path
-
evaluatable
protected boolean evaluatable
-
-
Constructor Details
-
JDOField
-
JDOField
-
JDOField
-
JDOField
-
JDOField
-
JDOField
-
JDOField
-
JDOField
public JDOField(JDOValueIF root, String name1, String name2, String name3, String name4, boolean evaluatable) -
JDOField
-
JDOField
-
JDOField
-
JDOField
-
-
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
-
getPath
-
getEvaluatable
public boolean getEvaluatable() -
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
-