public class ObjectIdGenerator extends java.lang.Object implements IdGenerator
ObjectId
instances as IDs for MongoDB Documents.Constructor and Description |
---|
ObjectIdGenerator() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
generate()
Generates an ID for a MongoDB Document.
|
public java.lang.Object generate()
IdGenerator
generate
in interface IdGenerator
Copyright © 2010 - 2020 Adobe. All Rights Reserved