Top Description Constructors Methods
org.eclipse.persistence.jpa.jpql.parser

public final Class SubtractionExpression

extends ArithmeticExpression
Class Inheritance

One of the four binary operators. A subtraction is the inverse of addition, it is a mathematical operation representing the removal of the second operand from the first operand.
BNF: arithmetic_expression ::= arithmetic_expression - arithmetic_term
Author
Pascal Filion
Since
2.3
Version
2.4

Constructor Summary

AccessConstructor and Description
public
SubtractionExpression(AbstractExpression
The parent of this expression
parent
)

Creates a new SubtractionExpression.

Method Summary

Modifier and TypeMethod and Description
public void
accept(ExpressionVisitor
The ExpressionVisitor to visit this object
visitor
)

Implements org.eclipse.persistence.jpa.jpql.parser.Expression.accept.

Visits this Expression by the given visitor.
Inherited from org.eclipse.persistence.jpa.jpql.parser.ArithmeticExpression:
findQueryBNFgetArithmeticSigngetLeftExpressionQueryBNFIdgetQueryBNFgetRightExpressionQueryBNFIdisParsingCompleteparseIdentifier

Constructor Detail

SubtractionExpressionback to summary
public SubtractionExpression(AbstractExpression parent)

Creates a new SubtractionExpression.

Parameters
parent:AbstractExpression

The parent of this expression

Method Detail

acceptback to summary
public void accept(ExpressionVisitor visitor)

Implements org.eclipse.persistence.jpa.jpql.parser.Expression.accept.

Doc from org.eclipse.persistence.jpa.jpql.parser.Expression.accept.

Visits this Expression by the given visitor.

Parameters
visitor:ExpressionVisitor

The ExpressionVisitor to visit this object

Annotations
@Override