Interface IdentifiableTypeSource
- All Superinterfaces:
AttributeSourceContainer,ToolingHintContextContainer
- All Known Subinterfaces:
EntitySource,JoinedSubclassEntitySource,SubclassEntitySource
- All Known Implementing Classes:
AbstractEntitySourceImpl,JoinedSubclassEntitySourceImpl,RootEntitySourceImpl,SubclassEntitySourceImpl
Common contract between Entity and MappedSuperclass sources. The
terminology is taken from JPA's
IdentifiableType- Author:
- Steve Ebersole
-
Method Summary
Modifier and TypeMethodDescriptionGet the hierarchy this belongs to.Access to the sources describing JPA lifecycle callbacks.Obtain the metadata-building context local to this entity source.Obtain the origin of this source.Access the subtype sources for types extending from this type source,Get the name of this type.Methods inherited from interface org.hibernate.boot.model.source.spi.AttributeSourceContainer
attributeSources, getAttributePathBase, getAttributeRoleBaseMethods inherited from interface org.hibernate.boot.model.source.spi.ToolingHintContextContainer
getToolingHintContext
-
Method Details
-
getOrigin
Origin getOrigin()Obtain the origin of this source.- Returns:
- The origin of this source.
-
getHierarchy
EntityHierarchySource getHierarchy()Get the hierarchy this belongs to.- Returns:
- The hierarchy this belongs to.
-
getLocalMetadataBuildingContext
LocalMetadataBuildingContext getLocalMetadataBuildingContext()Obtain the metadata-building context local to this entity source.- Specified by:
getLocalMetadataBuildingContextin interfaceAttributeSourceContainer- Returns:
- The local binding context
-
getTypeName
String getTypeName()Get the name of this type.- Returns:
- The name of this type.
-
getSuperType
IdentifiableTypeSource getSuperType() -
getSubTypes
Collection<IdentifiableTypeSource> getSubTypes()Access the subtype sources for types extending from this type source,- Returns:
- Sub-type sources
-
getJpaCallbackClasses
List<JpaCallbackSource> getJpaCallbackClasses()Access to the sources describing JPA lifecycle callbacks.- Returns:
- JPA lifecycle callback sources
-