Package org.hibernate.binder.internal
Class AttributeAccessorBinder
java.lang.Object
org.hibernate.binder.internal.AttributeAccessorBinder
- All Implemented Interfaces:
AttributeBinder<AttributeAccessor>
Configures the
PropertyAccessStrategy
for an attribute.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
bind
(AttributeAccessor accessor, MetadataBuildingContext buildingContext, PersistentClass persistentClass, Property property) Perform some custom configuration of the model relating to the given annotatedProperty
of the given entity class or embeddable class.
-
Constructor Details
-
AttributeAccessorBinder
public AttributeAccessorBinder()
-
-
Method Details
-
bind
public void bind(AttributeAccessor accessor, MetadataBuildingContext buildingContext, PersistentClass persistentClass, Property property) Description copied from interface:AttributeBinder
Perform some custom configuration of the model relating to the given annotatedProperty
of the given entity class or embeddable class.- Specified by:
bind
in interfaceAttributeBinder<AttributeAccessor>
- Parameters:
accessor
- an annotation of the property that is declared as anAttributeBinderType
persistentClass
- the entity class acting as the ultimate container of the property (differs fromProperty.getPersistentClass()
in the case of a property of an embeddable class)property
- aProperty
object representing the annotated property
-