Class EntityBinder

java.lang.Object
org.hibernate.boot.model.internal.EntityBinder

public class EntityBinder extends Object
Stateful binder responsible for interpreting information about an Entity class and producing a PersistentClass mapping model object.
  • Constructor Details

  • Method Details

    • bindEntityClass

      public static void bindEntityClass(org.hibernate.models.spi.ClassDetails clazzToProcess, Map<org.hibernate.models.spi.ClassDetails,InheritanceState> inheritanceStates, MetadataBuildingContext context)
      Bind an entity class. This can be done in a single pass.
    • wrapIdsInEmbeddedComponents

      public boolean wrapIdsInEmbeddedComponents()
    • isPropertyDefinedInSuperHierarchy

      public boolean isPropertyDefinedInSuperHierarchy(String name)
      Delegates to PersistentClass.isPropertyDefinedInHierarchy(java.lang.String), after verifying that there is a PersistentClass available.
      Parameters:
      name - The name of the property to check
      Returns:
      true if a property by that given name does already exist in the super hierarchy.
    • isRootEntity

      public boolean isRootEntity()
    • getPersistentClass

      public PersistentClass getPersistentClass()
    • finalSecondaryTableBinding

      public void finalSecondaryTableBinding(PropertyHolder propertyHolder)
    • finalSecondaryTableFromAnnotationBinding

      public void finalSecondaryTableFromAnnotationBinding(PropertyHolder propertyHolder)
    • addJoinTable

      public Join addJoinTable(JoinTable joinTable, PropertyHolder holder, boolean noDelayInPkColumnCreation)
    • addSecondaryTable

      public Join addSecondaryTable(SecondaryTable secondaryTable, PropertyHolder holder, boolean noDelayInPkColumnCreation)
    • getSecondaryTables

      public Map<String,Join> getSecondaryTables()
    • getCacheConcurrencyStrategy

      public static String getCacheConcurrencyStrategy(CacheConcurrencyStrategy strategy)
    • isIgnoreIdAnnotations

      public boolean isIgnoreIdAnnotations()
    • getPropertyAccessType

      public AccessType getPropertyAccessType()
    • setPropertyAccessType

      public void setPropertyAccessType(AccessType propertyAccessType)
    • getPropertyAccessor

      public AccessType getPropertyAccessor(org.hibernate.models.spi.AnnotationTarget element)