public interface IManagedTypeProvider
IManagedType
Modifier and Type | Method and Description |
---|---|
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)
|
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.
|
IterableIterator<IEntity> entities()
entities
defined in the persistence contextIEmbeddable getEmbeddable(IType type)
IEmbeddable
with the given IType
.type
- The IType
of the IEmbeddable
to retrieveIEmbeddable
for the given IType
if it's representing an embeddable;
otherwise null
IEmbeddable getEmbeddable(java.lang.String typeName)
IEmbeddable
for the given fully qualified type name.typeName
- The fully qualified type name of the IEmbeddable
to retrieveIEmbeddable
that has the given type name; otherwise null
IEntity getEntity(java.lang.String typeName)
IEntity
with the given name.typeName
- The fully qualified type name of the IEntity
to retrieveIEntity
with the given name; otherwise null
getEntityNamed(String)
IEntity getEntityNamed(java.lang.String entityName)
IEntity
with the given entity name.entityName
- The abstract schema name of the IEntity
to retrieveIEntity
with the given abstract schema name; otherwise null
getEntity(String)
IManagedType getManagedType(IType type)
IManagedType
for the given IType
.type
- The type that is used as a managed typeIManagedType
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 retrieveIManagedType
for the given type, if one exists, null
otherwiseIMappedSuperclass getMappedSuperclass(IType type)
IEmbeddable
with the given IType
.type
- The IType
of the IMappedSuperclass
to retrieveIMappedSuperclass
for the given IType
if it's representing a
mapped superclass; otherwise null
IMappedSuperclass getMappedSuperclass(java.lang.String typeName)
IMappedSuperclass
for the given fully qualified type name.typeName
- The fully qualified type name of the IMappedSuperclass
to retrieveIMappedSuperclass
that has the given type name; otherwise null
ITypeRepository getTypeRepository()
ITypes
IterableIterator<IManagedType> managedTypes()
EclipseLink 2.4.2, "build v20130514-5956486" API Reference