Interface Entity.Id<E extends Entity<E>>

Enclosing interface:
Entity<E extends Entity<E>>

public static interface Entity.Id<E extends Entity<E>>
  • Method Summary

    Modifier and Type
    Method
    Description
    default Class<E>
     
    default boolean
     
    default E
    Deprecated, for removal: This API element is subject to removal in a future version.
    This method will be removed in YOJ 3.0.0.
    default <EXCEPTION extends Exception>
    E
    resolve(Supplier<? extends EXCEPTION> throwIfAbsent)
    Deprecated, for removal: This API element is subject to removal in a future version.
    This method will be removed in YOJ 3.0.0.
  • Method Details

    • resolve

      @CheckForNull @Deprecated(forRemoval=true) default E resolve()
      Deprecated, for removal: This API element is subject to removal in a future version.
      This method will be removed in YOJ 3.0.0. Use Table.find(Entity.Id) instead.
    • resolve

      @NonNull @Deprecated(forRemoval=true) default <EXCEPTION extends Exception> E resolve(Supplier<? extends EXCEPTION> throwIfAbsent) throws EXCEPTION
      Deprecated, for removal: This API element is subject to removal in a future version.
      This method will be removed in YOJ 3.0.0. Use Table.find(Entity.Id, Supplier) instead.
      Throws:
      EXCEPTION extends Exception
    • getType

      default Class<E> getType()
    • isPartial

      default boolean isPartial()