Purpose: Represent a UPPER
Responsibilities:
UpperNode constructor comment. super();
super();
INTERNAL Generate the TopLink expression for this node Expression whereClause = getLeft().generateExpression(context); whereClause = whereClause.toUpperCase(); return whereClause;
Expression whereClause = getLeft().generateExpression(context); whereClause = whereClause.toUpperCase(); return whereClause;
INTERNAL Validate node and calculate its type. TypeHelper typeHelper = context.getTypeHelper(); if (left != null) { left.validate(context); left.validateParameter(context, typeHelper.getStringType()); } setType(typeHelper.getStringType());
TypeHelper typeHelper = context.getTypeHelper(); if (left != null) { left.validate(context); left.validateParameter(context, typeHelper.getStringType()); } setType(typeHelper.getStringType());