Package org.hibernate.binder.internal
Class CommentsBinder
java.lang.Object
org.hibernate.binder.internal.CommentsBinder
- All Implemented Interfaces:
AttributeBinder<Comments>,TypeBinder<Comments>
public class CommentsBinder
extends Object
implements TypeBinder<Comments>, AttributeBinder<Comments>
Handles the
Comments annotation.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbind(Comments comments, MetadataBuildingContext context, Component embeddable) Perform some custom configuration of the model relating to the given annotated embeddable class.voidbind(Comments comments, MetadataBuildingContext context, PersistentClass entity) Perform some custom configuration of the model relating to the given annotated entity class.voidbind(Comments comments, MetadataBuildingContext context, PersistentClass entity, Property property) Perform some custom configuration of the model relating to the given annotatedPropertyof the given entity class or embeddable class.
-
Constructor Details
-
CommentsBinder
public CommentsBinder()
-
-
Method Details
-
bind
public void bind(Comments comments, MetadataBuildingContext context, PersistentClass entity, 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<Comments>- Parameters:
comments- an annotation of the property that is declared as anAttributeBinderTypeentity- 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
-
bind
Description copied from interface:TypeBinderPerform some custom configuration of the model relating to the given annotated entity class.- Specified by:
bindin interfaceTypeBinder<Comments>- Parameters:
comments- an annotation of the entity class that is declared as anTypeBinderTypeentity- the entity class
-
bind
Description copied from interface:TypeBinderPerform some custom configuration of the model relating to the given annotated embeddable class.- Specified by:
bindin interfaceTypeBinder<Comments>- Parameters:
comments- an annotation of the embeddable class that is declared as anTypeBinderTypeembeddable- the embeddable class
-