-
- All Known Subinterfaces:
IdFactory<I,V,ID>
- All Known Implementing Classes:
LongInstantId.Factory
,LongVersionId.Factory
,StringInstantId.Factory
,StringVersionId.Factory
,UuidInstantId.Factory
,UuidVersionId.Factory
public interface IdMapper
Interface for mapper that can marshall and unmarshallId
s.- Since:
- 1.0.0
- See Also:
IdMarshaller
,IdFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <E> Id<E>
unmarshall(Class<E> type, String id, String version)
-
-
-
Method Detail
-
unmarshall
<E> Id<E> unmarshall(Class<E> type, String id, String version)
- Type Parameters:
E
- type of the identified entity.- Parameters:
type
- theentity type
.id
- theprimary key as string
.version
- theversion as string
. May benull
.- Returns:
- the parsed
Id
.
-
-