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>
HandlesDiscriminatorOptions
annotations.- Since:
- 6.5
-
-
Constructor Summary
Constructors Constructor Description DiscriminatorOptionsBinder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
bind(DiscriminatorOptions options, MetadataBuildingContext context, Component embeddableClass)
Perform some custom configuration of the model relating to the given annotated embeddable class.void
bind(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:TypeBinder
Perform some custom configuration of the model relating to the given annotated entity class.- Specified by:
bind
in interfaceTypeBinder<DiscriminatorOptions>
- Parameters:
options
- an annotation of the entity class that is declared as anTypeBinderType
persistentClass
- the entity class
-
bind
public void bind(DiscriminatorOptions options, MetadataBuildingContext context, Component embeddableClass)
Description copied from interface:TypeBinder
Perform some custom configuration of the model relating to the given annotated embeddable class.- Specified by:
bind
in interfaceTypeBinder<DiscriminatorOptions>
- Parameters:
options
- an annotation of the embeddable class that is declared as anTypeBinderType
embeddableClass
- the embeddable class
-
-