public interface IManagedTypeProvider
IManagedType
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<IEntity> |
abstractSchemaTypes()
Returns the collection of possible abstract schema types.
|
IManagedType |
getManagedType(IType type)
Retrieves the entity for the given type.
|
IManagedType |
getManagedType(java.lang.String abstractSchemaName)
Retrieves the entity with the given abstract schema name, which can also be the entity class
name.
|
IPlatform |
getPlatform()
Returns the platform to which the JPA artifacts are deployed.
|
ITypeRepository |
getTypeRepository()
Returns the type repository for the application.
|
IJPAVersion |
getVersion()
Returns the version of the Java Persistence this entity for which it was defined.
|
java.lang.Iterable<IManagedType> |
managedTypes()
Returns the managed types available within the context of this provider.
|
java.lang.Iterable<IEntity> abstractSchemaTypes()
entities
defined in the persistence contextIManagedType getManagedType(IType type)
type
- The type that is used as a managed typenull
otherwiseIManagedType getManagedType(java.lang.String abstractSchemaName)
abstractSchemaName
- The abstract schema name, which can be different from the entity
class name but by default, it's the samenull
if none could be foundIPlatform getPlatform()
ITypeRepository getTypeRepository()
ITypes
IJPAVersion getVersion()
java.lang.Iterable<IManagedType> managedTypes()
EclipseLink 2.3.2, "build v20111125-r10461" API Reference