Interface ChildAccessor.ChildBuilder<T,B extends ChildAccessor.ChildBuilder<T,B>>

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

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

    Modifier and Type
    Method
    Description
    withChild(T aChild)
    Sets the child for the child property.
  • Method Details

    • withChild

      B withChild(T aChild)
      Sets the child for the child property.
      Parameters:
      aChild - The child to be stored by the child property.
      Returns:
      The builder for applying multiple build operations.