public interface Metamodel
Modifier and Type | Method and Description |
---|---|
<X> EmbeddableType<X> |
embeddable(Class<X> cls)
Return the metamodel embeddable type representing the
embeddable class.
|
<X> EntityType<X> |
entity(Class<X> cls)
Return the metamodel entity type representing the entity.
|
Set<EmbeddableType<?>> |
getEmbeddables()
Return the metamodel embeddable types.
|
Set<EntityType<?>> |
getEntities()
Return the metamodel entity types.
|
Set<ManagedType<?>> |
getManagedTypes()
Return the metamodel managed types.
|
<X> ManagedType<X> |
managedType(Class<X> cls)
Return the metamodel managed type representing the
entity, mapped superclass, or embeddable class.
|
<X> EntityType<X> entity(Class<X> cls)
cls
- the type of the represented entityIllegalArgumentException
- if not an entity<X> ManagedType<X> managedType(Class<X> cls)
cls
- the type of the represented managed classIllegalArgumentException
- if not a managed class<X> EmbeddableType<X> embeddable(Class<X> cls)
cls
- the type of the represented embeddable classIllegalArgumentException
- if not an embeddable classSet<ManagedType<?>> getManagedTypes()
Set<EntityType<?>> getEntities()
Set<EmbeddableType<?>> getEmbeddables()
Copyright © 2019 JBoss by Red Hat. All rights reserved.