Interface IdentifierBinder
-
- All Known Implementing Classes:
IdentifierBinderRef.UndefinedBinderImplementationType
public interface IdentifierBinder
A binder from a POJO property to a document identifier.This binder takes advantage of provided metadata to pick, configure and create a
IdentifierBridge
.- See Also:
IdentifierBridge
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
bind(IdentifierBindingContext<?> context)
Binds a POJO property to a document identifier.
-
-
-
Method Detail
-
bind
void bind(IdentifierBindingContext<?> context)
Binds a POJO property to a document identifier.The context passed in parameter provides various information about the identifier being bound. Implementations are expected to take advantage of that information and to call one of the
bridge(...)
methods on the context to set the bridge.- Parameters:
context
- A context object providing information about the identifier being bound, and expecting a call to one of itsbridge(...)
methods.
-
-