Interface IdAccessor.IdProperty<T>

Type Parameters:
T - The type of the ID to be accessed.
All Superinterfaces:
IdAccessor<T>, IdAccessor.IdMutator<T>
Enclosing interface:
IdAccessor<T>

public static interface IdAccessor.IdProperty<T>
extends IdAccessor<T>, IdAccessor.IdMutator<T>
Provides a ID property.
  • Method Details

    • letId

      default T letId​(T aId)
      This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as of IdAccessor.IdMutator.setId(Object) and returns the very same value (getter).
      Parameters:
      aId - The value to set (via IdAccessor.IdMutator.setId(Object)).
      Returns:
      Returns the value passed for it to be used in conclusive processing steps.