Package org.bson.codecs.pojo
Interface IdGenerator<T>
-
- Type Parameters:
T
- the type of the id value.
public interface IdGenerator<T>
Classes that implement this interface define a way to create Ids for Pojo's.- Since:
- 3.10
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
generate()
Generates an id for a Pojo.java.lang.Class<T>
getType()
-