Top Description Fields Constructors Methods
org.eclipse.persistence.jpa.jpql.tools.resolver

public Class TableDeclaration

extends Declaration
Class Inheritance
Imports
org.eclipse.persistence.jpa.jpql.ExpressionTools

This Declaration uses a database table as the "root" object.
Author
Pascal Filion
Since
2.5
Version
2.5

Field Summary

Inherited from org.eclipse.persistence.jpa.jpql.tools.resolver.Declaration:
baseExpressiondeclarationExpressionidentificationVariablerootPath

Constructor Summary

AccessConstructor and Description
public
TableDeclaration()

Creates a new TableDeclaration.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

The name of the table specified in the TABLE expression
getTableName
()

Returns the unquoted table name.

public JPQLQueryDeclaration.Type
getType()

Implements org.eclipse.persistence.jpa.jpql.JPQLQueryDeclaration.getType.

Determines the type this declaration represents.
Inherited from org.eclipse.persistence.jpa.jpql.tools.resolver.Declaration:
getBaseExpressiongetDeclarationExpressiongetIdentificationVariablegetJoinsgetRootPathgetVariableNamehasJoinstoString

Constructor Detail

TableDeclarationback to summary
public TableDeclaration()

Creates a new TableDeclaration.

Method Detail

getTableNameback to summary
public String getTableName()

Returns the unquoted table name.

Returns:String

The name of the table specified in the TABLE expression

getTypeback to summary
public JPQLQueryDeclaration.Type getType()

Implements org.eclipse.persistence.jpa.jpql.JPQLQueryDeclaration.getType.

Doc from org.eclipse.persistence.jpa.jpql.JPQLQueryDeclaration.getType.

Determines the type this declaration represents.

Returns:JPQLQueryDeclaration.Type

One of the possible types

Annotations
@Override