Package org.bson.codecs.pojo
Class IdGenerators
- java.lang.Object
-
- org.bson.codecs.pojo.IdGenerators
-
public final class IdGenerators extends Object
The default IdGenerators- Since:
- 3.10
- See Also:
IdGenerator
-
-
Field Summary
Fields Modifier and Type Field Description static IdGenerator<BsonObjectId>
BSON_OBJECT_ID_GENERATOR
A IdGenerator forBsonObjectId
static IdGenerator<ObjectId>
OBJECT_ID_GENERATOR
A IdGenerator forObjectId
static IdGenerator<String>
STRING_ID_GENERATOR
-
-
-
Field Detail
-
OBJECT_ID_GENERATOR
public static final IdGenerator<ObjectId> OBJECT_ID_GENERATOR
A IdGenerator forObjectId
-
BSON_OBJECT_ID_GENERATOR
public static final IdGenerator<BsonObjectId> BSON_OBJECT_ID_GENERATOR
A IdGenerator forBsonObjectId
-
STRING_ID_GENERATOR
public static final IdGenerator<String> STRING_ID_GENERATOR
-
-