Package org.hibernate.binder.internal
Class CommentBinder
- java.lang.Object
-
- org.hibernate.binder.internal.CommentBinder
-
- All Implemented Interfaces:
AttributeBinder<Comment>,TypeBinder<Comment>
public class CommentBinder extends Object implements AttributeBinder<Comment>, TypeBinder<Comment>
HandlesCommentannotations.
-
-
Constructor Summary
Constructors Constructor Description CommentBinder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbind(Comment comment, MetadataBuildingContext context, Component embeddable)Perform some custom configuration of the model relating to the given annotatedembeddable class.voidbind(Comment comment, MetadataBuildingContext context, PersistentClass entity)Perform some custom configuration of the model relating to the given annotatedentity class.voidbind(Comment comment, MetadataBuildingContext context, PersistentClass entity, Property property)Perform some custom configuration of the model relating to the given annotatedPropertyof the givenentity classorembeddable class.
-
-
-
Method Detail
-
bind
public void bind(Comment comment, MetadataBuildingContext context, PersistentClass entity, Property property)
Description copied from interface:AttributeBinderPerform some custom configuration of the model relating to the given annotatedPropertyof the givenentity classorembeddable class.- Specified by:
bindin interfaceAttributeBinder<Comment>- Parameters:
comment- 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
public void bind(Comment comment, MetadataBuildingContext context, PersistentClass entity)
Description copied from interface:TypeBinderPerform some custom configuration of the model relating to the given annotatedentity class.- Specified by:
bindin interfaceTypeBinder<Comment>- Parameters:
comment- an annotation of the entity class that is declared as anTypeBinderTypeentity- the entity class
-
bind
public void bind(Comment comment, MetadataBuildingContext context, Component embeddable)
Description copied from interface:TypeBinderPerform some custom configuration of the model relating to the given annotatedembeddable class.- Specified by:
bindin interfaceTypeBinder<Comment>- Parameters:
comment- an annotation of the embeddable class that is declared as anTypeBinderTypeembeddable- the embeddable class
-
-