|
EclipseLink 2.2.0, build 'v20110202-r8913' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Metamodel
Provides access to the metamodel of persistent entities in the persistence unit.
Method Summary | ||
---|---|---|
|
embeddable(java.lang.Class<X> cls)
Return the metamodel embeddable type representing the embeddable class. |
|
|
entity(java.lang.Class<X> cls)
Return the metamodel entity type representing the entity. |
|
java.util.Set<EmbeddableType<?>> |
getEmbeddables()
Return the metamodel embeddable types. |
|
java.util.Set<EntityType<?>> |
getEntities()
Return the metamodel entity types. |
|
java.util.Set<ManagedType<?>> |
getManagedTypes()
Return the metamodel managed types. |
|
|
managedType(java.lang.Class<X> cls)
Return the metamodel managed type representing the entity, mapped superclass, or embeddable class. |
Method Detail |
---|
<X> EntityType<X> entity(java.lang.Class<X> cls)
cls
- the type of the represented entity
java.lang.IllegalArgumentException
- if not an entity<X> ManagedType<X> managedType(java.lang.Class<X> cls)
cls
- the type of the represented managed class
java.lang.IllegalArgumentException
- if not a managed class<X> EmbeddableType<X> embeddable(java.lang.Class<X> cls)
cls
- the type of the represented embeddable class
java.lang.IllegalArgumentException
- if not an embeddable classjava.util.Set<ManagedType<?>> getManagedTypes()
java.util.Set<EntityType<?>> getEntities()
java.util.Set<EmbeddableType<?>> getEmbeddables()
|
EclipseLink 2.2.0, build 'v20110202-r8913' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |