Package org.hibernate.binder.internal
Class AttributeAccessorBinder
- java.lang.Object
-
- org.hibernate.binder.internal.AttributeAccessorBinder
-
- All Implemented Interfaces:
AttributeBinder<AttributeAccessor>
public class AttributeAccessorBinder extends Object implements AttributeBinder<AttributeAccessor>
Configures thePropertyAccessStrategyfor an attribute.
-
-
Constructor Summary
Constructors Constructor Description AttributeAccessorBinder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbind(AttributeAccessor accessor, MetadataBuildingContext buildingContext, PersistentClass persistentClass, Property property)Perform some custom configuration of the model relating to the given annotatedPropertyof the given entity class or embeddable class.
-
-
-
Method Detail
-
bind
public void bind(AttributeAccessor accessor, MetadataBuildingContext buildingContext, PersistentClass persistentClass, Property property)
Description copied from interface:AttributeBinderPerform some custom configuration of the model relating to the given annotatedPropertyof the given entity class or embeddable class.- Specified by:
bindin interfaceAttributeBinder<AttributeAccessor>- Parameters:
accessor- an annotation of the property that is declared as anAttributeBinderTypepersistentClass- 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- aPropertyobject representing the annotated property
-
-