Module org.eclipse.persistence.core
Class StringLiteralNode
java.lang.Object
org.eclipse.persistence.internal.jpa.parsing.Node
org.eclipse.persistence.internal.jpa.parsing.LiteralNode
org.eclipse.persistence.internal.jpa.parsing.StringLiteralNode
- All Implemented Interfaces:
AliasableNode
INTERNAL
Purpose: Represent a String literal
Responsibilities:
- Generate the correct expression for the string
- Since:
- TopLink 4.0
-
Field Summary
Fields inherited from class org.eclipse.persistence.internal.jpa.parsing.LiteralNode
literalFields inherited from class org.eclipse.persistence.internal.jpa.parsing.Node
alias, left, right, shouldGenerateExpression -
Constructor Summary
ConstructorsConstructorDescriptionReturn a new StringLiteralNodeStringLiteralNode(String theString) Return a new StringLiteralNode with the internal string set to the passed value -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate(ParseTreeContext context) INTERNAL Validate node and calculate its type.Methods inherited from class org.eclipse.persistence.internal.jpa.parsing.LiteralNode
applyToQuery, generateExpression, getAsString, getLiteral, isAliasableNode, isLiteralNode, setLiteral, toStringMethods inherited from class org.eclipse.persistence.internal.jpa.parsing.Node
addToExpression, appendExpression, getAlias, getColumn, getLeft, getLine, getRight, getType, hasLeft, hasRight, isAggregateNode, isAttributeNode, isConstructorNode, isCountNode, isDivideNode, isDotNode, isEscape, isMapKeyNode, isMinusNode, isMultiplyNode, isNotNode, isParameterNode, isPlusNode, isSubqueryNode, isVariableNode, qualifyAttributeAccess, resolveAttribute, resolveClass, resolveClass, resolveMapping, resolveMapping, setAlias, setColumn, setLeft, setLine, setRight, setType, toString, toStringDisplayName, toStringIndent, validateParameterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.persistence.internal.jpa.parsing.AliasableNode
getAlias, setAlias