public class JDOFunction extends Object implements JDOValueIF
Modifier and Type | Field and Description |
---|---|
protected JDOValueIF[] |
args |
protected String |
name |
protected Class |
value_type |
COLLECTION, FIELD, FUNCTION, NATIVE_VALUE, NULL, OBJECT, PARAMETER, PRIMITIVE, STRING, VARIABLE
Constructor and Description |
---|
JDOFunction(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) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
JDOValueIF[] |
getArguments() |
String |
getName() |
int |
getType()
INTERNAL: Returns the type of JDO value indicated by one of the
constants in the
JDOValueIF interface. |
Class |
getValueType() |
int |
hashCode() |
String |
toString() |
void |
visit(JDOVisitorIF visitor)
INTERNAL: Allows the value to be visited.
|
protected String name
protected Class value_type
protected JDOValueIF[] args
public JDOFunction(String name, Class value_type, JDOValueIF arg1)
public JDOFunction(String name, Class value_type, JDOValueIF arg1, JDOValueIF arg2)
public JDOFunction(String name, Class value_type, JDOValueIF arg1, JDOValueIF arg2, JDOValueIF arg3)
public JDOFunction(String name, Class value_type, JDOValueIF[] args)
public int getType()
JDOValueIF
JDOValueIF
interface.getType
in interface JDOValueIF
public String getName()
public Class getValueType()
public JDOValueIF[] getArguments()
public void visit(JDOVisitorIF visitor)
JDOValueIF
visit
in interface JDOValueIF