|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.jpt.jpa.core.jpql.spi.JpaManagedTypeProvider
public class JpaManagedTypeProvider
An implementation of IManagedTypeProvider that is wrapping the design-time representation
of a provider of managed types.
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.
| Constructor Summary | |
|---|---|
JpaManagedTypeProvider(JpaProject jpaProject,
PersistentTypeContainer persistentTypeContainer,
Creates a new JpaManagedTypeProvider. |
|
JpaManagedTypeProvider(JpaProject jpaProject,
PersistentTypeContainer persistentTypeContainer,
IManagedTypeBuilder managedTypeBuilder,
Creates a new JpaManagedTypeProvider. |
|
| Method Summary | ||
|---|---|---|
protected IEmbeddable |
buildEmbeddable(Embeddable mappedClass)
|
|
protected IEntity |
buildEntity(Entity mappedClass)
|
|
protected IManagedType |
buildManagedType(PersistentType persistentType)
|
|
protected Map<String,IManagedType> |
buildManagedTypes()
|
|
protected IMappedSuperclass |
buildMappedSuperclass(MappedSuperclass mappedClass)
|
|
Iterable<IEntity> |
entities()
|
|
IEmbeddable |
getEmbeddable(IType type)
|
|
IEmbeddable |
getEmbeddable(String typeName)
|
|
IEntity |
getEntity(IType type)
|
|
IEntity |
getEntity(String typeName)
|
|
IEntity |
getEntityNamed(String entityName)
|
|
protected
|
getManagedType(Collection<T> managedTypes,
String typeName)
|
|
IManagedType |
getManagedType(IType type)
|
|
IManagedType |
getManagedType(String typeName)
|
|
IMappedSuperclass |
getMappedSuperclass(IType type)
|
|
IMappedSuperclass |
getMappedSuperclass(String typeName)
|
|
PersistentTypeContainer |
getPersistentTypeContainer()
Returns the container of managed types. |
|
protected PersistentTypeContainer |
getProvider()
Returns the encapsulated PersistentType, which is the actual object. |
|
JpaTypeRepository |
getTypeRepository()
|
|
protected void |
initializeManagedTypes()
|
|
Iterable<IManagedType> |
managedTypes()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JpaManagedTypeProvider(JpaProject jpaProject,
PersistentTypeContainer persistentTypeContainer,
IManagedTypeBuilder managedTypeBuilder,
mappingBuilder)
JpaManagedTypeProvider.
jpaProject - The project that gives access to the application's metadatapersistentTypeContainer - The design-time provider of managed typesmanagedTypeBuilder - The builder that is responsible to create the IManagedType
wrapping a type mappingmappingBuilder - The builder that is responsible to create the IMapping wrapping
a persistent attribute or property
public JpaManagedTypeProvider(JpaProject jpaProject,
PersistentTypeContainer persistentTypeContainer,
mappingBuilder)
JpaManagedTypeProvider.
jpaProject - The project that gives access to the application's metadatapersistentTypeContainer - The design-time provider of managed typesmappingBuilder - The builder that is responsible to create the IMapping wrapping
a persistent attribute or property| Method Detail |
|---|
protected IEmbeddable buildEmbeddable(Embeddable mappedClass)
protected IEntity buildEntity(Entity mappedClass)
protected IManagedType buildManagedType(PersistentType persistentType)
protected Map<String,IManagedType> buildManagedTypes()
protected IMappedSuperclass buildMappedSuperclass(MappedSuperclass mappedClass)
public Iterable<IEntity> entities()
public IEmbeddable getEmbeddable(IType type)
public IEmbeddable getEmbeddable(String typeName)
public IEntity getEntity(IType type)
public IEntity getEntity(String typeName)
public IEntity getEntityNamed(String entityName)
protected <T extends IManagedType> T getManagedType(Collection<T> managedTypes,
String typeName)
public IManagedType getManagedType(IType type)
public IManagedType getManagedType(String typeName)
public IMappedSuperclass getMappedSuperclass(IType type)
public IMappedSuperclass getMappedSuperclass(String typeName)
public PersistentTypeContainer getPersistentTypeContainer()
protected PersistentTypeContainer getProvider()
PersistentType, which is the actual object.
public JpaTypeRepository getTypeRepository()
protected void initializeManagedTypes()
public Iterable<IManagedType> managedTypes()
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||