Interface IdentifiableTypeSource

All Superinterfaces:
AttributeSourceContainer, ToolingHintContextContainer
All Known Subinterfaces:
EntitySource, JoinedSubclassEntitySource, SubclassEntitySource

public interface IdentifiableTypeSource extends AttributeSourceContainer
Common contract between Entity and MappedSuperclass sources. The terminology is taken from JPA's IdentifiableType
  • 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:
      getLocalMetadataBuildingContext in interface AttributeSourceContainer
      Returns:
      The local binding context
    • getTypeName

      String getTypeName()
      Get the name of this type.
      Returns:
      The name of this type.
    • getSuperType

      IdentifiableTypeSource getSuperType()
    • 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