Interface IdentifiableTypeSource
-
- All Superinterfaces:
AttributeSourceContainer
,ToolingHintContextContainer
- All Known Subinterfaces:
EntitySource
,JoinedSubclassEntitySource
,SubclassEntitySource
- All Known Implementing Classes:
AbstractEntitySourceImpl
,JoinedSubclassEntitySourceImpl
,RootEntitySourceImpl
,SubclassEntitySourceImpl
public interface IdentifiableTypeSource extends AttributeSourceContainer
Common contract between Entity and MappedSuperclass sources. The terminology is taken from JPA'sIdentifiableType
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EntityHierarchySource
getHierarchy()
Get the hierarchy this belongs to.List<JpaCallbackSource>
getJpaCallbackClasses()
Access to the sources describing JPA lifecycle callbacks.LocalMetadataBuildingContext
getLocalMetadataBuildingContext()
Obtain the metadata-building context local to this entity source.Origin
getOrigin()
Obtain the origin of this source.Collection<IdentifiableTypeSource>
getSubTypes()
Access the subtype sources for types extending from this type source,IdentifiableTypeSource
getSuperType()
String
getTypeName()
Get the name of this type.-
Methods inherited from interface org.hibernate.boot.model.source.spi.AttributeSourceContainer
attributeSources, getAttributePathBase, getAttributeRoleBase
-
Methods inherited from interface org.hibernate.boot.model.source.spi.ToolingHintContextContainer
getToolingHintContext
-
-
-
-
Method Detail
-
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:
getLocalMetadataBuildingContext
in 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
-
-