EclipseLink 2.5.0, build 'v20130110-d839ca4' API Reference

org.eclipse.persistence.jpa.jpql
Class TableDeclaration

java.lang.Object
  extended by org.eclipse.persistence.jpa.jpql.Declaration
      extended by org.eclipse.persistence.jpa.jpql.TableDeclaration
All Implemented Interfaces:
JPQLQueryDeclaration

public class TableDeclaration
extends Declaration

This Declaration uses a database table as the "root" object.

Version:
2.5
Author:
Pascal Filion
Since:
2.5

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.persistence.jpa.jpql.JPQLQueryDeclaration
JPQLQueryDeclaration.Type
 
Field Summary
 
Fields inherited from class org.eclipse.persistence.jpa.jpql.Declaration
baseExpression, declarationExpression, identificationVariable, rootPath
 
Constructor Summary
TableDeclaration()
          Creates a new TableDeclaration.
 
Method Summary
 java.lang.String getTableName()
          Returns the unquoted table name.
 JPQLQueryDeclaration.Type getType()
          Determines the type this declaration represents.
 
Methods inherited from class org.eclipse.persistence.jpa.jpql.Declaration
getBaseExpression, getDeclarationExpression, getJoins, getRootPath, getVariableName, hasJoins, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TableDeclaration

public TableDeclaration()
Creates a new TableDeclaration.

Method Detail

getTableName

public java.lang.String getTableName()
Returns the unquoted table name.

Returns:
The name of the table specified in the TABLE expression

getType

public JPQLQueryDeclaration.Type getType()
Determines the type this declaration represents.

Returns:
One of the possible types

EclipseLink 2.5.0, build 'v20130110-d839ca4' API Reference