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 TypeMethodDescriptionvoidbind(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.
-
Constructor Details
-
AttributeAccessorBinder
public AttributeAccessorBinder()
-
-
Method Details
-
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
-