Class JDOFunction
java.lang.Object
net.ontopia.persistence.query.jdo.JDOFunction
- All Implemented Interfaces:
JDOValueIF
INTERNAL: JDOQL method: Object.<operator>(Object,...). The
function can also be a free form function where the name is the
function pattern, e.g. "contains($1, $2, 1) > 0)". Function
arguments are referred via their position.
-
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
ConstructorsConstructorDescriptionJDOFunction(String name, Class value_type, JDOValueIF arg1) JDOFunction(String name, Class value_type, JDOValueIF[] args) JDOFunction(String name, Class value_type, JDOValueIF arg1, JDOValueIF arg2) JDOFunction(String name, Class value_type, JDOValueIF arg1, JDOValueIF arg2, JDOValueIF arg3) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetName()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
-
name
-
value_type
-
args
-
-
Constructor Details
-
JDOFunction
-
JDOFunction
-
JDOFunction
public JDOFunction(String name, Class value_type, JDOValueIF arg1, JDOValueIF arg2, JDOValueIF arg3) -
JDOFunction
-
-
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
-
getName
-
getValueType
-
getArguments
-
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
-