public class TemporalLiteralNode extends LiteralNode
Purpose: Represent a Date, Time or TimeStamp literal
Responsibilities:
Modifier and Type | Class and Description |
---|---|
static class |
TemporalLiteralNode.TemporalType |
literal
shouldGenerateExpression
Constructor and Description |
---|
TemporalLiteralNode(java.lang.String theString,
TemporalLiteralNode.TemporalType type)
Return a new StringLiteralNode with the internal string set to the
passed value
|
TemporalLiteralNode(TemporalLiteralNode.TemporalType type)
Return a new StringLiteralNode
|
Modifier and Type | Method and Description |
---|---|
Expression |
generateExpression(GenerationContext context)
INTERNAL
Generate the a new EclipseLink ConstantExpression for this node.
|
void |
validate(ParseTreeContext context)
INTERNAL
Validate node and calculate its type.
|
applyToQuery, getAsString, getLiteral, isAliasableNode, isLiteralNode, setLiteral, toString
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, validateParameter
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAlias, setAlias
public TemporalLiteralNode(TemporalLiteralNode.TemporalType type)
public TemporalLiteralNode(java.lang.String theString, TemporalLiteralNode.TemporalType type)
public Expression generateExpression(GenerationContext context)
generateExpression
in class LiteralNode
public void validate(ParseTreeContext context)
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference