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

public Class WhenThenNode

extends Node
Class Inheritance
Imports
org.eclipse.persistence.expressions.Expression

INTERNAL

Purpose: Represent an WHEN x THEN y (part of CASE statement) in EJBQL

Responsibilities:

Author
tware
Since
EclipseLink 1.2

Field Summary

Inherited from org.eclipse.persistence.internal.jpa.parsing.Node:
aliasleftrightshouldGenerateExpression

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

INTERNAL Generate the a new EclipseLink the THEN portion of this node.

public Expression
generateExpressionForWhen(GenerationContext context)

INTERNAL Generate the a new EclipseLink Expression for this WHEN portion of this node.

public void
validate(ParseTreeContext context)

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

INTERNAL Validate node and calculate its type.
Inherited from org.eclipse.persistence.internal.jpa.parsing.Node:
addToExpressionappendExpressionapplyToQuerygenerateExpressiongetAliasgetAsStringgetColumngetLeftgetLinegetRightgetTypehasLefthasRightisAggregateNodeisAliasableNodeisAttributeNodeisConstructorNodeisCountNodeisDivideNodeisDotNodeisEscapeisLiteralNodeisMapKeyNodeisMinusNodeisMultiplyNodeisNotNodeisParameterNodeisPlusNodeisSubqueryNodeisVariableNodequalifyAttributeAccessresolveAttributeresolveClassresolveClassresolveMappingresolveMappingsetAliassetColumnsetLeftsetLinesetRightsetTypetoStringtoStringtoStringDisplayNametoStringIndentvalidateParameter

Constructor Detail

WhenThenNodeback to summary
public WhenThenNode()

Method Detail

generateExpressionForThenback to summary
public Expression generateExpressionForThen(GenerationContext context)

INTERNAL Generate the a new EclipseLink the THEN portion of this node.

generateExpressionForWhenback to summary
public Expression generateExpressionForWhen(GenerationContext context)

INTERNAL Generate the a new EclipseLink Expression for this WHEN portion of this node.

validateback to summary
public void validate(ParseTreeContext context)

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

Doc from org.eclipse.persistence.internal.jpa.parsing.Node.validate.

INTERNAL Validate node and calculate its type.

Annotations
@Override