public class ObjectIdGenerator extends Object implements IdGenerator<org.bson.types.ObjectId>
| Constructor and Description |
|---|
ObjectIdGenerator() |
| Modifier and Type | Method and Description |
|---|---|
org.bson.BsonValue |
asBsonValue(org.bson.types.ObjectId id,
TypeCodecRegistry typeCodecRegistry) |
org.bson.types.ObjectId |
generate()
Generate id without knowledge of the instance
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgeneratepublic org.bson.types.ObjectId generate()
IdGeneratorgenerate in interface IdGenerator<org.bson.types.ObjectId>public org.bson.BsonValue asBsonValue(org.bson.types.ObjectId id,
TypeCodecRegistry typeCodecRegistry)
asBsonValue in interface InstanceAwareIdGenerator<org.bson.types.ObjectId,Object>Copyright © 2019 BILD GmbH & Co. KG. All rights reserved.