Package jakarta.persistence.metamodel
Interface EntityType<X>
- Type Parameters:
X
- The represented entity type.
- All Superinterfaces:
Bindable<X>
,IdentifiableType<X>
,ManagedType<X>
,Type<X>
An instance of
EntityType
represents
an entity
type.- Since:
- 2.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.Bindable
Bindable.BindableType
Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.Type
Type.PersistenceType
-
Method Summary
Methods inherited from interface jakarta.persistence.metamodel.Bindable
getBindableJavaType, getBindableType
Methods inherited from interface jakarta.persistence.metamodel.IdentifiableType
getDeclaredId, getDeclaredVersion, getId, getIdClassAttributes, getIdType, getSupertype, getVersion, hasSingleIdAttribute, hasVersionAttribute
Methods inherited from interface jakarta.persistence.metamodel.ManagedType
getAttribute, getAttributes, getCollection, getCollection, getDeclaredAttribute, getDeclaredAttributes, getDeclaredCollection, getDeclaredCollection, getDeclaredList, getDeclaredList, getDeclaredMap, getDeclaredMap, getDeclaredPluralAttributes, getDeclaredSet, getDeclaredSet, getDeclaredSingularAttribute, getDeclaredSingularAttribute, getDeclaredSingularAttributes, getList, getList, getMap, getMap, getPluralAttributes, getSet, getSet, getSingularAttribute, getSingularAttribute, getSingularAttributes
Methods inherited from interface jakarta.persistence.metamodel.Type
getJavaType, getPersistenceType
-
Method Details
-
getName
String getName()Return the entity name.- Returns:
- entity name
-