Purpose: Represent a SQRT
Responsibilities:
Return a new SqrtNode super();
super();
INTERNAL Generate the TopLink expression for this node Expression whereClause = getLeft().generateExpression(context); whereClause = whereClause.getFunction(ExpressionOperator.Sqrt); return whereClause;
Expression whereClause = getLeft().generateExpression(context); whereClause = whereClause.getFunction(ExpressionOperator.Sqrt); return whereClause;
INTERNAL Validate node and calculate its type. TypeHelper typeHelper = context.getTypeHelper(); if (left != null) { left.validate(context); } setType(typeHelper.getDoubleType());
TypeHelper typeHelper = context.getTypeHelper(); if (left != null) { left.validate(context); } setType(typeHelper.getDoubleType());
INTERNAL // delegate to the argument node left.validateParameter(context, contextType);
// delegate to the argument node left.validateParameter(context, contextType);