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 TypeMethodDescriptionvoidbind(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.
-
Constructor Details
-
DiscriminatorOptionsBinder
public DiscriminatorOptionsBinder()
-
-
Method Details
-
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
-