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 theComments
annotation.
-
-
Constructor Summary
Constructors Constructor Description CommentsBinder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
bind(Comments comments, MetadataBuildingContext context, Component embeddable)
Perform some custom configuration of the model relating to the given annotatedembeddable class
.void
bind(Comments comments, MetadataBuildingContext context, PersistentClass entity)
Perform some custom configuration of the model relating to the given annotatedentity class
.void
bind(Comments comments, MetadataBuildingContext context, PersistentClass entity, Property property)
Perform some custom configuration of the model relating to the given annotatedProperty
of the givenentity class
orembeddable class
.
-
-
-
Method Detail
-
bind
public void bind(Comments comments, MetadataBuildingContext context, PersistentClass entity, Property property)
Description copied from interface:AttributeBinder
Perform some custom configuration of the model relating to the given annotatedProperty
of the givenentity class
orembeddable class
.- Specified by:
bind
in interfaceAttributeBinder<Comments>
- Parameters:
comments
- an annotation of the property that is declared as anAttributeBinderType
entity
- 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
-
bind
public void bind(Comments comments, MetadataBuildingContext context, PersistentClass entity)
Description copied from interface:TypeBinder
Perform some custom configuration of the model relating to the given annotatedentity class
.- Specified by:
bind
in interfaceTypeBinder<Comments>
- Parameters:
comments
- an annotation of the entity class that is declared as anTypeBinderType
entity
- the entity class
-
bind
public void bind(Comments comments, MetadataBuildingContext context, Component embeddable)
Description copied from interface:TypeBinder
Perform some custom configuration of the model relating to the given annotatedembeddable class
.- Specified by:
bind
in interfaceTypeBinder<Comments>
- Parameters:
comments
- an annotation of the embeddable class that is declared as anTypeBinderType
embeddable
- the embeddable class
-
-