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
This
Declaration
uses a database table as the "root" object.- Since:
- 2.5
- Version:
- 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
-
Method Summary
Modifier and TypeMethodDescriptionReturns the unquoted table name.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
-
Constructor Details
-
TableDeclaration
public TableDeclaration()Creates a newTableDeclaration
.
-
-
Method Details
-
getTableName
Returns the unquoted table name.- Returns:
- The name of the table specified in the
TABLE
expression
-
getType
Description copied from interface:JPQLQueryDeclaration
Determines the type this declaration represents.- Returns:
- One of the possible types
-