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()
    • bindEntity

      public void bindEntity()
    • getPersistentClass

      public PersistentClass getPersistentClass()
    • bindDiscriminatorValue

      public void bindDiscriminatorValue()
    • bindProxy

      public void bindProxy()
    • bindConcreteProxy

      public void bindConcreteProxy()
    • bindWhere

      public void bindWhere()
    • setWrapIdsInEmbeddedComponents

      public void setWrapIdsInEmbeddedComponents(boolean wrapIdsInEmbeddedComponents)
    • bindTableForDiscriminatedSubclass

      public void bindTableForDiscriminatedSubclass(String entityName)
    • bindTable

      public void bindTable(String schema, String catalog, String tableName, UniqueConstraint[] uniqueConstraints, String rowId, String viewQuery, InFlightMetadataCollector.EntityTableXref denormalizedSuperTableXref)
    • 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)
    • addFilter

      public void addFilter(Filter filter)
    • isIgnoreIdAnnotations

      public boolean isIgnoreIdAnnotations()
    • setIgnoreIdAnnotations

      public void setIgnoreIdAnnotations(boolean ignoreIdAnnotations)
    • getPropertyAccessType

      public AccessType getPropertyAccessType()
    • setPropertyAccessType

      public void setPropertyAccessType(AccessType propertyAccessType)
    • getPropertyAccessor

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

      public AccessType getExplicitAccessType(org.hibernate.models.spi.AnnotationTarget element)
    • bindFiltersInHierarchy

      public void bindFiltersInHierarchy()
      Process the filters defined on the given class, as well as all filters defined on the MappedSuperclass(es) in the inheritance hierarchy