Purpose: Superclass for literals (String, Integer, Float, Character, ...)
Responsibilities:
Return a new LiteralNode. super();
super();
INTERNAL Apply this node to the passed query if (theQuery.isReportQuery()) { ReportQuery reportQuery = (ReportQuery)theQuery; reportQuery.addAttribute("CONSTANT", generateExpression(context)); }
if (theQuery.isReportQuery()) { ReportQuery reportQuery = (ReportQuery)theQuery; reportQuery.addAttribute("CONSTANT", generateExpression(context)); }
INTERNAL Generate the a new TopLink ConstantExpression for this node. Expression whereClause = new ConstantExpression(getLiteral(), new ExpressionBuilder()); return whereClause;
Expression whereClause = new ConstantExpression(getLiteral(), new ExpressionBuilder()); return whereClause;
INTERNAL Return the literal return getLiteral().toString();
return getLiteral().toString();
Insert the method's description here. Creation date: (12/21/00 10:51:48 AM)returnjava.lang.Object return literal;
return literal;
INTERNAL Is this a literal node return true;
return true;
Insert the method's description here. Creation date: (12/21/00 10:51:48 AM)paramnewLiteral java.lang.Object literal = newLiteral;
literal = newLiteral;
StringBuffer buffer = new StringBuffer(); toStringIndent(indent, buffer); buffer.append(toStringDisplayName() + "[" + getLiteral() + "]"); return buffer.toString();