Class TableDeclaration
- java.lang.Object
-
- org.eclipse.persistence.jpa.jpql.tools.resolver.Declaration
-
- org.eclipse.persistence.jpa.jpql.tools.resolver.TableDeclaration
-
- All Implemented Interfaces:
JPQLQueryDeclaration
public class TableDeclaration extends Declaration
ThisDeclaration
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.tools.resolver.Declaration
baseExpression, declarationExpression, identificationVariable, rootPath
-
-
Constructor Summary
Constructors Constructor Description TableDeclaration()
Creates a newTableDeclaration
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.tools.resolver.Declaration
getBaseExpression, getDeclarationExpression, getIdentificationVariable, getJoins, getRootPath, getVariableName, hasJoins, toString
-
-
-
-
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
-
-