Interface CodeAccessor.CodeProperty<T>

Type Parameters:
T - The type of the code property.
All Superinterfaces:
CodeAccessor<T>, CodeAccessor.CodeMutator<T>
Enclosing interface:
CodeAccessor<T>

public static interface CodeAccessor.CodeProperty<T> extends CodeAccessor<T>, CodeAccessor.CodeMutator<T>
Extends the CodeAccessor with a setter method.
  • Method Details

    • letCode

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