Top Description Constructors Methods
org.hibernate.binder.internal

public Class CommentsBinder

extends Object
implements TypeBinder<Comments>, AttributeBinder<Comments>
Class Inheritance
All Implemented Interfaces
org.hibernate.binder.AttributeBinder, org.hibernate.binder.TypeBinder
Imports
org.hibernate.AnnotationException, org.hibernate.annotations.Comment, .Comments, org.hibernate.binder.AttributeBinder, .TypeBinder, org.hibernate.boot.spi.MetadataBuildingContext, org.hibernate.mapping.Component, .PersistentClass, .Property, java.util.HashSet, .Set

Handles the Comments annotation.
Author
Gavin King

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
bind(Comments
an annotation of the property that is declared as an org.hibernate.annotations.AttributeBinderType
comments
,
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(Comments
an annotation of the entity class that is declared as an org.hibernate.annotations.TypeBinderType
comments
,
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(Comments
an annotation of the embeddable class that is declared as an org.hibernate.annotations.TypeBinderType
comments
,
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

CommentsBinderback to summary
public CommentsBinder()

Method Detail

bindback to summary
public void bind(Comments comments, 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
comments:Comments

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(Comments comments, 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
comments:Comments

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(Comments comments, 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
comments:Comments

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

embeddable:Component

the embeddable class

Annotations
@Override