Interface IdentifierMappingImplementor<I,E>
- Type Parameters:
I- The identifier type for the mapped entity type.E- The entity type mapped to an index.
- All Superinterfaces:
AutoCloseable,IdentifierMapping
- All Known Implementing Classes:
PropertyIdentifierMapping,ProvidedIdentifierMapping,UnconfiguredIdentifierMapping,UnmappedPropertyIdentifierMapping
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidclose()fromDocumentIdentifier(String documentId, BridgeSessionContext sessionContext) getIdentifier(Object providedId, Supplier<? extends E> entitySupplier) getIdentifierOrNull(E entity) toDocumentIdentifier(I identifier, BridgeMappingContext context)
-
Method Details
-
close
default void close()- Specified by:
closein interfaceAutoCloseable
-
fromDocumentIdentifier
- Specified by:
fromDocumentIdentifierin interfaceIdentifierMapping
-
getIdentifier
-
getIdentifierOrNull
-
toDocumentIdentifier
-