Interface IdAccessor.IdBuilder<T,​B extends IdAccessor.IdBuilder<T,​B>>

  • Type Parameters:
    B - The builder to return in order to be able to apply multiple build operations.
    Enclosing interface:
    IdAccessor<T>

    public static interface IdAccessor.IdBuilder<T,​B extends IdAccessor.IdBuilder<T,​B>>
    Provides a builder method for a ID property returning the builder for applying multiple build operations.
    • Method Detail

      • withIdentity

        B withIdentity​(T aId)
        Sets the ID for the ID property.
        Parameters:
        aId - The ID to be stored by the ID property.
        Returns:
        The builder for applying multiple build operations.