Class ObjectIdGenerator

  • All Implemented Interfaces:
    IdGenerator

    @Deprecated(since="2022-10-31")
    public class ObjectIdGenerator
    extends java.lang.Object
    implements IdGenerator
    Deprecated.
    Usage of this API is not supported in AEM as a Cloud Service.
    Creates new ObjectId instances as IDs for MongoDB Documents.
    Since:
    3.0
    • Constructor Summary

      Constructors 
      Constructor Description
      ObjectIdGenerator()
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.Object generate()
      Deprecated.
      Generates an ID for a MongoDB Document.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ObjectIdGenerator

        public ObjectIdGenerator()
        Deprecated.
    • Method Detail

      • generate

        public java.lang.Object generate()
        Deprecated.
        Description copied from interface: IdGenerator
        Generates an ID for a MongoDB Document.
        Specified by:
        generate in interface IdGenerator
        Returns:
        any type of Object representing an ID.