public IdGenerator
A generator of Ids.
@NotNull kotlin.reflect.KClass<? extends org.litote.kmongo.Id<?>> getIdClass()
The class of the id.
@NotNull kotlin.reflect.KClass<? extends java.lang.Object> getWrappedIdClass()
The class of the wrapped id.
@NotNull <T> Id<T> generateNewId()
Generate a new id.
@NotNull Id<?> create(@NotNull java.lang.String s)
Create a new id from its String representation.