Purpose: This node represnts a Parameter (?1) in an EJBQL
Responsibilities:
Return a new ParameterNode. super();
super();
INTERNAL Create a new ParameterNode with the passed string.paramnewVariableName java.lang.String setParameterName(newParameterName);
setParameterName(newParameterName);
//create builder, and add Class baseClass = context.getBaseQueryClass(); ExpressionBuilder builder = new ExpressionBuilder(baseClass); Expression whereClause = builder.getParameter(getParameterName(), getType()); return whereClause;
INTERNAL Return the parameterName return getParameterName();
return getParameterName();
INTERNAL Return the parameter name return name;
return name;
INTERNAL Yes this is a Parameter node return true;
return true;
this.name = name;
INTERNAL context.defineParameterType(name, contextType, getLine(), getColumn()); setType(context.getParameterType(name));
context.defineParameterType(name, contextType, getLine(), getColumn()); setType(context.getParameterType(name));