|
EclipseLink 2.5.0, build 'v20130507-3faac2b' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IManagedTypeProvider
The external representation of the provider of managed types, which provide access to the JPA domain model.
Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
IManagedType| Method Summary | |
|---|---|
java.lang.Iterable<IEntity> |
entities()
Returns the collection of possible abstract schema types. |
IEmbeddable |
getEmbeddable(IType type)
Retrieves the IEmbeddable with the given IType. |
IEmbeddable |
getEmbeddable(java.lang.String typeName)
Retrieves the IEmbeddable for the given fully qualified type name. |
IEntity |
getEntity(IType type)
Retrieves the IEntity with the given IType. |
IEntity |
getEntity(java.lang.String typeName)
Retrieves the IEntity with the given name. |
IEntity |
getEntityNamed(java.lang.String entityName)
Retrieves the IEntity with the given entity name. |
IManagedType |
getManagedType(IType type)
Retrieves the IManagedType for the given IType. |
IManagedType |
getManagedType(java.lang.String typeName)
Retrieves the IManagedType for the given fully qualified type name. |
IMappedSuperclass |
getMappedSuperclass(IType type)
Retrieves the IEmbeddable with the given IType. |
IMappedSuperclass |
getMappedSuperclass(java.lang.String typeName)
Retrieves the IMappedSuperclass for the given fully qualified type name. |
ITypeRepository |
getTypeRepository()
Returns the type repository for the application. |
java.lang.Iterable<IManagedType> |
managedTypes()
Returns the managed types available within the context of this provider. |
| Method Detail |
|---|
java.lang.Iterable<IEntity> entities()
entities defined in the persistence contextIEmbeddable getEmbeddable(IType type)
IEmbeddable with the given IType.
type - The IType of the IEmbeddable to retrieve
IEmbeddable for the given IType if it's representing an embeddable;
otherwise nullIEmbeddable getEmbeddable(java.lang.String typeName)
IEmbeddable for the given fully qualified type name.
typeName - The fully qualified type name of the IEmbeddable to retrieve
IEmbeddable that has the given type name; otherwise nullIEntity getEntity(IType type)
IEntity with the given IType.
type - The IType of the IEntity to retrieve
IEntity for the given IType if it's representing an entity;
otherwise nullIEntity getEntity(java.lang.String typeName)
IEntity with the given name.
typeName - The fully qualified type name of the IEntity to retrieve
IEntity with the given name; otherwise nullgetEntityNamed(String)IEntity getEntityNamed(java.lang.String entityName)
IEntity with the given entity name.
entityName - The abstract schema name of the IEntity to retrieve
IEntity with the given abstract schema name; otherwise nullgetEntity(String)IManagedType getManagedType(IType type)
IManagedType for the given IType.
type - The type that is used as a managed type
IManagedType for the given type, if one exists, null otherwiseIManagedType getManagedType(java.lang.String typeName)
IManagedType for the given fully qualified type name.
typeName - The fully qualified type name of the IManagedType to retrieve
IManagedType for the given type, if one exists, null otherwiseIMappedSuperclass getMappedSuperclass(IType type)
IEmbeddable with the given IType.
type - The IType of the IMappedSuperclass to retrieve
IMappedSuperclass for the given IType if it's representing a
mapped superclass; otherwise nullIMappedSuperclass getMappedSuperclass(java.lang.String typeName)
IMappedSuperclass for the given fully qualified type name.
typeName - The fully qualified type name of the IMappedSuperclass to retrieve
IMappedSuperclass that has the given type name; otherwise nullITypeRepository getTypeRepository()
ITypesjava.lang.Iterable<IManagedType> managedTypes()
|
EclipseLink 2.5.0, build 'v20130507-3faac2b' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||