Top Description Fields Constructors Methods
org.eclipse.persistence.internal.jpa.parsing

public Class SubstringNode

extends StringFunctionNode
Class Inheritance
Imports
org.eclipse.persistence.expressions.*

INTERNAL

Purpose: Represent a SUBSTRING

Responsibilities:

Author
Jon Driscoll and Joel Lucuik
Since
TopLink 4.0

Field Summary

Modifier and TypeField and Description
private Node
private Node

Constructor Summary

AccessConstructor and Description
public
SubstringNode()

SubstringNode constructor comment.

Method Summary

Modifier and TypeMethod and Description
public Expression
generateExpression(GenerationContext context)

Overrides org.eclipse.persistence.internal.jpa.parsing.Node.generateExpression.

INTERNAL Generate the EclipseLink expression for this node
private Node
getStartPosition()

Return the start position object

private Node
getStringLength()

Return the string length object

public Node
qualifyAttributeAccess(ParseTreeContext context)

Overrides org.eclipse.persistence.internal.jpa.parsing.Node.qualifyAttributeAccess.

INTERNAL Check the child nodes for an unqualified field access and if so, replace them by a qualified field access.
public void
setStartPosition(Node
java.lang.Integer
newStartPosition
)

Insert the method's description here.

public void
setStringLength(Node
java.lang.Integer
newStringLength
)

Insert the method's description here.

public void
validate(ParseTreeContext context)

Overrides org.eclipse.persistence.internal.jpa.parsing.Node.validate.

INTERNAL Validate node and calculate its type.

Field Detail

startPositionback to summary
private Node startPosition
stringLengthback to summary
private Node stringLength

Constructor Detail

SubstringNodeback to summary
public SubstringNode()

SubstringNode constructor comment.

Method Detail

generateExpressionback to summary
public Expression generateExpression(GenerationContext context)

Overrides org.eclipse.persistence.internal.jpa.parsing.Node.generateExpression.

INTERNAL Generate the EclipseLink expression for this node

Annotations
@Override
getStartPositionback to summary
private Node getStartPosition()

Return the start position object

getStringLengthback to summary
private Node getStringLength()

Return the string length object

qualifyAttributeAccessback to summary
public Node qualifyAttributeAccess(ParseTreeContext context)

Overrides org.eclipse.persistence.internal.jpa.parsing.Node.qualifyAttributeAccess.

INTERNAL Check the child nodes for an unqualified field access and if so, replace them by a qualified field access.

Annotations
@Override
setStartPositionback to summary
public void setStartPosition(Node newStartPosition)

Insert the method's description here. Creation date: (1/19/01 3:41:55 PM)

Parameters
newStartPosition:Node

java.lang.Integer

setStringLengthback to summary
public void setStringLength(Node newStringLength)

Insert the method's description here. Creation date: (1/19/01 3:42:26 PM)

Parameters
newStringLength:Node

java.lang.Integer

validateback to summary
public void validate(ParseTreeContext context)

Overrides org.eclipse.persistence.internal.jpa.parsing.Node.validate.

INTERNAL Validate node and calculate its type.

Annotations
@Override