Package org.hibernate.binder.internal
Class DiscriminatorOptionsBinder
java.lang.Object
org.hibernate.binder.internal.DiscriminatorOptionsBinder
- All Implemented Interfaces:
TypeBinder<DiscriminatorOptions>
Handles
DiscriminatorOptions
annotations.- Since:
- 6.5
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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.
-
Constructor Details
-
DiscriminatorOptionsBinder
public DiscriminatorOptionsBinder()
-
-
Method Details
-
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
-