public abstract class MethodCallNode extends JavaValueNode
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
javaClassName
The name of the class containing the method.
|
protected java.lang.String |
methodName |
protected JavaValueNode[] |
methodParms |
forCallStatement, jsqlType
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX
Constructor and Description |
---|
MethodCallNode() |
Modifier and Type | Method and Description |
---|---|
void |
addParms(java.util.List<ValueNode> parameterList)
Add the parameter list
|
void |
copyFrom(QueryTreeNode node)
Fill this node with a deep copy of the given node.
|
java.lang.String |
getJavaClassName() |
java.lang.String |
getMethodName() |
JavaValueNode[] |
getMethodParameters() |
void |
init(java.lang.Object methodName)
Initializer for a MethodCallNode
|
void |
printSubNodes(int depth)
Prints the sub-nodes of this object.
|
void |
setJavaClassName(java.lang.String javaClassName) |
java.lang.String |
toString()
Convert this object to a String.
|
castToPrimitive, getJavaTypeName, getJSQLType, getPrimitiveTypeName, getType, isPrimitiveType, mapToTypeID, markForCallStatement, markReturnValueDiscarded, mustCastToPrimitive, returnValueDiscarded, returnValueToSQLDomain, setJavaTypeName, valueReturnedToSQLDomain
accept, convertDefaultNode, debugFlush, debugPrint, formatNodeString, getBeginOffset, getDebugOutput, getEndOffset, getNodeFactory, getNodeType, getNullNode, getParserContext, getStatementType, getUserData, init, init, init, init, init, init, init, init, init, init, init, init, init, isInstanceOf, makeTableName, makeTableName, nodeHeader, printLabel, setBeginOffset, setDebugOutput, setEndOffset, setNodeType, setParserContext, setUserData, stackPrint, treePrint, treePrint, treePrint
protected java.lang.String methodName
protected java.lang.String javaClassName
#bindExpression
,
getJavaClassName()
protected JavaValueNode[] methodParms
public void init(java.lang.Object methodName)
init
in class QueryTreeNode
methodName
- The name of the method to callpublic void copyFrom(QueryTreeNode node) throws StandardException
copyFrom
in class JavaValueNode
StandardException
public java.lang.String getMethodName()
public java.lang.String getJavaClassName()
public void setJavaClassName(java.lang.String javaClassName)
public JavaValueNode[] getMethodParameters()
public void addParms(java.util.List<ValueNode> parameterList) throws StandardException
parameterList
- A List of the parametersStandardException
- Thrown on errorpublic void printSubNodes(int depth)
printSubNodes
in class QueryTreeNode
depth
- The depth of this node in the treepublic java.lang.String toString()
toString
in class QueryTreeNode
Copyright © 2013. All Rights Reserved.