Class AlternativeDiscriminatorBinderImpl
java.lang.Object
org.hibernate.search.mapper.pojo.bridge.builtin.alternative.impl.AlternativeDiscriminatorBinderImpl
- All Implemented Interfaces:
AlternativeDiscriminatorBinder,MarkerBinder
public final class AlternativeDiscriminatorBinderImpl
extends Object
implements AlternativeDiscriminatorBinder
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbind(MarkerBindingContext context) Binds a marker to a POJO property.
-
Constructor Details
-
AlternativeDiscriminatorBinderImpl
public AlternativeDiscriminatorBinderImpl()
-
-
Method Details
-
id
- Specified by:
idin interfaceAlternativeDiscriminatorBinder- Parameters:
id- The identifier of the alternative. This is used to differentiate between multiple alternative discriminators.- Returns:
this, for method chaining.- See Also:
-
bind
Description copied from interface:MarkerBinderBinds a marker to a POJO property.Implementations are to call one of the
marker(...)methods on the context to set the marker.- Specified by:
bindin interfaceMarkerBinder- Parameters:
context- A context object expecting a call to one of itsmarker(...)methods.
-