EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.jpa.jpql.model
Class EclipseLinkJPQLQueryFormatter

java.lang.Object
  extended by org.eclipse.persistence.jpa.jpql.model.BaseJPQLQueryFormatter
      extended by org.eclipse.persistence.jpa.jpql.model.AbstractJPQLQueryFormatter
          extended by org.eclipse.persistence.jpa.jpql.model.EclipseLinkJPQLQueryFormatter
All Implemented Interfaces:
IJPQLQueryFormatter, EclipseLinkStateObjectVisitor, StateObjectVisitor

public class EclipseLinkJPQLQueryFormatter
extends AbstractJPQLQueryFormatter
implements EclipseLinkStateObjectVisitor

The default implementation of a IJPQLQueryFormatter that adds support for formatting EclipseLink specific JPQL identifiers. It supports creating a string representation of a JPQL query written for JPA 1.0 and 2.1 and with EclipseLink 1.x and 2.x.

Version:
2.4
Author:
Pascal Filion
Since:
2.4

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.persistence.jpa.jpql.model.IJPQLQueryFormatter
IJPQLQueryFormatter.IdentifierStyle
 
Field Summary
 
Fields inherited from class org.eclipse.persistence.jpa.jpql.model.BaseJPQLQueryFormatter
COMMA, COMMA_SPACE, LEFT_PARENTHESIS, RIGHT_PARENTHESIS, SPACE, style, writer
 
Constructor Summary
EclipseLinkJPQLQueryFormatter(IJPQLQueryFormatter.IdentifierStyle style)
          Creates a new EclipseLinkJPQLQueryFormatter.
 
Method Summary
 
Methods inherited from class org.eclipse.persistence.jpa.jpql.model.AbstractJPQLQueryFormatter
newLine, toStringAggregateFunction, toStringChildren, toStringCompound, toStringConditional, toStringDoubleEncapsulated, toStringEncapsulatedIdentificationVariable, toStringFromClause, toStringIdentificationVariableDeclaration, toStringModifyStatement, toStringPathExpression, toStringRangeVariableDeclaration, toStringSelectStatement, toStringSimpleStateObject, toStringSingleEncapsulated, toStringTripleEncapsulated, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
 
Methods inherited from class org.eclipse.persistence.jpa.jpql.model.BaseJPQLQueryFormatter
formatIdentifier, getIdentifierStyle, toString, toString, toText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.persistence.jpa.jpql.model.query.StateObjectVisitor
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
 

Constructor Detail

EclipseLinkJPQLQueryFormatter

public EclipseLinkJPQLQueryFormatter(IJPQLQueryFormatter.IdentifierStyle style)
Creates a new EclipseLinkJPQLQueryFormatter.

Parameters:
style - Determines how the JPQL identifiers are written out
Throws:
java.lang.NullPointerException - The IdentifierStyle cannot be null

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference