|
Oracle® Fusion Middleware Java API Reference for EclipseLink 11g Release 1 (11.1.1) E26376-01 |
||||||||
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 entityjava.lang.IllegalArgumentException
- if not an entity<X> ManagedType<X> managedType(java.lang.Class<X> cls)
cls
- the type of the represented managed classjava.lang.IllegalArgumentException
- if not a managed class<X> EmbeddableType<X> embeddable(java.lang.Class<X> cls)
cls
- the type of the represented embeddable classjava.lang.IllegalArgumentException
- if not an embeddable classjava.util.Set<ManagedType<?>> getManagedTypes()
java.util.Set<EntityType<?>> getEntities()
java.util.Set<EmbeddableType<?>> getEmbeddables()
|
Oracle® Fusion Middleware Java API Reference for EclipseLink 11g Release 1 (11.1.1) E26376-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |