Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

E28847-01


org.eclipse.persistence.jpa.jpql.spi
Interface IEntity

All Superinterfaces:
java.lang.Comparable<IManagedType>, IExternalForm, IManagedType

public interface IEntity
extends IManagedType

The external representation of the managed type that is annotated with @Entity.

Since:
2.3
Version:
2.3
Author:
Pascal Filion

Method Summary
 java.lang.String getName()
          Returns the name of this entity.
 IQuery getNamedQuery(java.lang.String queryName)
          Returns the external form of the given named query;

 

Methods inherited from interface org.eclipse.persistence.jpa.jpql.spi.IManagedType
accept, getMappingNamed, getProvider, getType, mappings

 

Methods inherited from interface java.lang.Comparable
compareTo

 

Method Detail

getName

java.lang.String getName()
Returns the name of this entity.
Returns:
The non-default name or the short class name of this entity

getNamedQuery

IQuery getNamedQuery(java.lang.String queryName)
Returns the external form of the given named query;
Parameters:
queryName - The name of the JPQL query to retrieve
Returns:
The IQuery representing the JPQL query named with the given name; or null if none could be found

Skip navigation links

Copyright © 1998, 2012, Oracle. All Rights Reserved.