Package org.hibernate.binder.internal
Class DiscriminatorOptionsBinder
- java.lang.Object
-
- org.hibernate.binder.internal.DiscriminatorOptionsBinder
-
- All Implemented Interfaces:
TypeBinder<DiscriminatorOptions>
public class DiscriminatorOptionsBinder extends Object implements TypeBinder<DiscriminatorOptions>
HandlesDiscriminatorOptionsannotations.- Since:
- 6.5
-
-
Constructor Summary
Constructors Constructor Description DiscriminatorOptionsBinder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbind(DiscriminatorOptions options, MetadataBuildingContext context, Component embeddableClass)Perform some custom configuration of the model relating to the given annotated embeddable class.voidbind(DiscriminatorOptions options, MetadataBuildingContext context, PersistentClass persistentClass)Perform some custom configuration of the model relating to the given annotated entity class.
-
-
-
Method Detail
-
bind
public void bind(DiscriminatorOptions options, MetadataBuildingContext context, PersistentClass persistentClass)
Description copied from interface:TypeBinderPerform some custom configuration of the model relating to the given annotated entity class.- Specified by:
bindin interfaceTypeBinder<DiscriminatorOptions>- Parameters:
options- an annotation of the entity class that is declared as anTypeBinderTypepersistentClass- the entity class
-
bind
public void bind(DiscriminatorOptions options, MetadataBuildingContext context, Component embeddableClass)
Description copied from interface:TypeBinderPerform some custom configuration of the model relating to the given annotated embeddable class.- Specified by:
bindin interfaceTypeBinder<DiscriminatorOptions>- Parameters:
options- an annotation of the embeddable class that is declared as anTypeBinderTypeembeddableClass- the embeddable class
-
-