public class TrimNode extends StringFunctionNode
Purpose: Represent a TRIM
Responsibilities:
shouldGenerateExpression
Constructor and Description |
---|
TrimNode()
TrimNode constructor.
|
Modifier and Type | Method and Description |
---|---|
Expression |
generateExpression(GenerationContext context)
INTERNAL
Generate the TopLink expression for this node
|
boolean |
isBoth() |
boolean |
isLeading() |
boolean |
isTrailing() |
void |
setBoth(boolean newBoth) |
void |
setLeading(boolean newLeading) |
void |
setTrailing(boolean newTrailing) |
void |
setTrimChar(Node trimChar) |
void |
validate(ParseTreeContext context)
INTERNAL
Validate node and calculate its type.
|
applyToQuery, isAliasableNode
addToExpression, appendExpression, getAlias, getAsString, getColumn, getLeft, getLine, getRight, getType, hasLeft, hasRight, isAggregateNode, isAttributeNode, isConstructorNode, isCountNode, isDivideNode, isDotNode, isEscape, isLiteralNode, isMapKeyNode, isMinusNode, isMultiplyNode, isNotNode, isParameterNode, isPlusNode, isSubqueryNode, isVariableNode, qualifyAttributeAccess, resolveAttribute, resolveClass, resolveClass, resolveMapping, resolveMapping, setAlias, setColumn, setLeft, setLine, setRight, setType, toString, toString, toStringDisplayName, toStringIndent, validateParameter
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAlias, setAlias
public void validate(ParseTreeContext context)
public Expression generateExpression(GenerationContext context)
generateExpression
in class Node
public void setTrimChar(Node trimChar)
public boolean isLeading()
public void setLeading(boolean newLeading)
public boolean isTrailing()
public void setTrailing(boolean newTrailing)
public boolean isBoth()
public void setBoth(boolean newBoth)
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference