Interface IdGenerator<T>

  • Type Parameters:
    T - the type of the id value.

    @Deprecated(since="2022-10-31")
    public interface IdGenerator<T>
    Deprecated.
    Usage of this API is not supported in AEM as a Cloud Service.
    Classes that implement this interface define a way to create Ids for Pojo's.
    Since:
    3.10
    • Method Detail

      • generate

        T generate()
        Deprecated.
        Generates an id for a Pojo.
        Returns:
        the generated id value
      • getType

        java.lang.Class<T> getType()
        Deprecated.
        Returns:
        the type of the generated id.