Class EntityBinder
java.lang.Object
org.hibernate.boot.model.internal.EntityBinder
Stateful binder responsible for interpreting information about an
Entity
class
and producing a PersistentClass
mapping model object.-
Constructor Summary
ConstructorsConstructorDescriptionEntityBinder
(MetadataBuildingContext context) Use as a fake one for Collection of elementsEntityBinder
(org.hibernate.models.spi.ClassDetails annotatedClass, PersistentClass persistentClass, MetadataBuildingContext context) -
Method Summary
Modifier and TypeMethodDescriptionaddJoinTable
(JoinTable joinTable, PropertyHolder holder, boolean noDelayInPkColumnCreation) addSecondaryTable
(SecondaryTable secondaryTable, PropertyHolder holder, boolean noDelayInPkColumnCreation) static void
bindEntityClass
(org.hibernate.models.spi.ClassDetails clazzToProcess, Map<org.hibernate.models.spi.ClassDetails, InheritanceState> inheritanceStates, MetadataBuildingContext context) Bind an entity class.void
finalSecondaryTableBinding
(PropertyHolder propertyHolder) void
finalSecondaryTableFromAnnotationBinding
(PropertyHolder propertyHolder) static String
getPropertyAccessor
(org.hibernate.models.spi.AnnotationTarget element) boolean
boolean
Delegates toPersistentClass.isPropertyDefinedInHierarchy(java.lang.String)
, after verifying that there is aPersistentClass
available.boolean
void
setPropertyAccessType
(AccessType propertyAccessType) boolean
-
Constructor Details
-
EntityBinder
Use as a fake one for Collection of elements -
EntityBinder
public EntityBinder(org.hibernate.models.spi.ClassDetails annotatedClass, PersistentClass persistentClass, MetadataBuildingContext context)
-
-
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
Delegates toPersistentClass.isPropertyDefinedInHierarchy(java.lang.String)
, after verifying that there is aPersistentClass
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
-
finalSecondaryTableBinding
-
finalSecondaryTableFromAnnotationBinding
-
addJoinTable
public Join addJoinTable(JoinTable joinTable, PropertyHolder holder, boolean noDelayInPkColumnCreation) -
addSecondaryTable
public Join addSecondaryTable(SecondaryTable secondaryTable, PropertyHolder holder, boolean noDelayInPkColumnCreation) -
getSecondaryTables
-
getCacheConcurrencyStrategy
-
isIgnoreIdAnnotations
public boolean isIgnoreIdAnnotations() -
getPropertyAccessType
-
setPropertyAccessType
-
getPropertyAccessor
-