Interface CodeAccessor.CodeBuilder<T,​B extends CodeAccessor.CodeBuilder<T,​B>>

Type Parameters:
T - the value type
B - The builder to return in order to be able to apply multiple build operations.
Enclosing interface:
CodeAccessor<T>

public static interface CodeAccessor.CodeBuilder<T,​B extends CodeAccessor.CodeBuilder<T,​B>>
Provides a builder method for a the property returning the builder for applying multiple build operations.
  • Method Summary

    Modifier and Type Method Description
    B withCode​(T aCode)
    Sets the code for the the property.
  • Method Details

    • withCode

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