Top Description Constructors Methods
org.hibernate.binder.internal

public Class CommentBinder

extends Object
implements AttributeBinder<Comment>, TypeBinder<Comment>
Class Inheritance
All Implemented Interfaces
org.hibernate.binder.TypeBinder, org.hibernate.binder.AttributeBinder
Imports
org.hibernate.AnnotationException, org.hibernate.annotations.Comment, org.hibernate.binder.AttributeBinder, .TypeBinder, org.hibernate.boot.spi.MetadataBuildingContext, org.hibernate.mapping.Collection, .Column, .Component, .Join, .OneToMany, .PersistentClass, .Property, .Table, .Value

Handles Comment annotations.
Author
Gavin King

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
bind(Comment
an annotation of the property that is declared as an org.hibernate.annotations.AttributeBinderType
comment
,
MetadataBuildingContext context, PersistentClass
the entity class acting as the ultimate container of the property (differs from Property#getPersistentClass() in the case of a property of an embeddable class)
entity
,
Property
a Property object representing the annotated property
property
)

Implements org.hibernate.binder.AttributeBinder.bind.

Perform some custom configuration of the model relating to the given annotated Property of the given entity class or embeddable class.
public void
bind(Comment
an annotation of the entity class that is declared as an org.hibernate.annotations.TypeBinderType
comment
,
MetadataBuildingContext context, PersistentClass
the entity class
entity
)

Implements org.hibernate.binder.TypeBinder.bind.

Perform some custom configuration of the model relating to the given annotated entity class.
public void
bind(Comment
an annotation of the embeddable class that is declared as an org.hibernate.annotations.TypeBinderType
comment
,
MetadataBuildingContext context, Component
the embeddable class
embeddable
)

Implements org.hibernate.binder.TypeBinder.bind.

Perform some custom configuration of the model relating to the given annotated embeddable class.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

CommentBinderback to summary
public CommentBinder()

Method Detail

bindback to summary
public void bind(Comment comment, MetadataBuildingContext context, PersistentClass entity, Property property)

Implements org.hibernate.binder.AttributeBinder.bind.

Doc from org.hibernate.binder.AttributeBinder.bind.

Perform some custom configuration of the model relating to the given annotated Property of the given entity class or embeddable class.

Parameters
comment:Comment

an annotation of the property that is declared as an org.hibernate.annotations.AttributeBinderType

entity:PersistentClass

the entity class acting as the ultimate container of the property (differs from Property#getPersistentClass() in the case of a property of an embeddable class)

property:Property

a Property object representing the annotated property

Annotations
@Override
bindback to summary
public void bind(Comment comment, MetadataBuildingContext context, PersistentClass entity)

Implements org.hibernate.binder.TypeBinder.bind.

Doc from org.hibernate.binder.TypeBinder.bind.

Perform some custom configuration of the model relating to the given annotated entity class.

Parameters
comment:Comment

an annotation of the entity class that is declared as an org.hibernate.annotations.TypeBinderType

entity:PersistentClass

the entity class

Annotations
@Override
bindback to summary
public void bind(Comment comment, MetadataBuildingContext context, Component embeddable)

Implements org.hibernate.binder.TypeBinder.bind.

Doc from org.hibernate.binder.TypeBinder.bind.

Perform some custom configuration of the model relating to the given annotated embeddable class.

Parameters
comment:Comment

an annotation of the embeddable class that is declared as an org.hibernate.annotations.TypeBinderType

embeddable:Component

the embeddable class

Annotations
@Override