|
EclipseLink 2.4.1, build 'v20121003-ad44345' 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.
IManagedType| Method Summary | |
|---|---|
IterableIterator<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. |
IterableIterator<IManagedType> |
managedTypes()
Returns the managed types available within the context of this provider. |
| Method Detail |
|---|
IterableIterator<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()
ITypesIterableIterator<IManagedType> managedTypes()
|
EclipseLink 2.4.1, build 'v20121003-ad44345' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||