Interface IdentifiableTypeSource
- All Superinterfaces:
AttributeSourceContainer, ToolingHintContextContainer
- All Known Subinterfaces:
EntitySource, JoinedSubclassEntitySource, SubclassEntitySource
Common contract between Entity and MappedSuperclass sources. The
terminology is taken from JPA's
IdentifiableType-
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 AttributeSourceContainer
attributeSources, getAttributePathBase, getAttributeRoleBaseMethods inherited from interface ToolingHintContextContainer
getToolingHintContext
-
Method Details
-
getOrigin
-
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
-
getSuperType
IdentifiableTypeSource getSuperType() -
getSubTypes
Collection<IdentifiableTypeSource> getSubTypes()Access the subtype sources for types extending from this type source,- Returns:
- Subtype sources
-
getJpaCallbackClasses
List<JpaCallbackSource> getJpaCallbackClasses()Access to the sources describing JPA lifecycle callbacks.- Returns:
- JPA lifecycle callback sources
-