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 Bindable
Bindable.BindableTypeNested classes/interfaces inherited from interface Type
Type.PersistenceType -
Method Summary
Modifier and TypeMethodDescriptionCreate a new mutableEntityGraphwith this given root entity type, allowing programmatic definition of the graph.getName()Return the entity name.Map<String, EntityGraph<X>> A map keyed by graph name, containing every named entity graph whose root entity type is exactly this type.Methods inherited from interface Bindable
getBindableJavaType, getBindableTypeMethods inherited from interface IdentifiableType
getDeclaredId, getDeclaredVersion, getId, getIdClassAttributes, getIdType, getSupertype, getVersion, hasSingleIdAttribute, hasVersionAttributeMethods inherited from interface 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, getSingularAttributesMethods inherited from interface Type
getJavaType, getPersistenceType
-
Method Details
-
getName
-
createEntityGraph
Create a new mutableEntityGraphwith this given root entity type, allowing programmatic definition of the graph.- Returns:
- a trivial entity graph with only a root node
- Since:
- 4.0
- See Also:
-
getNamedEntityGraphs
A map keyed by graph name, containing every named entity graph whose root entity type is exactly this type.- Returns:
- a map keyed by graph name
- Since:
- 4.0
- See Also:
-