Interface ParentChildFieldOptionsMapping.Builder

  • Method Details

    • parentFieldOptionValue

      ParentChildFieldOptionsMapping.Builder parentFieldOptionValue(String parentFieldOptionValue)

      The value in the parent field.

      Parameters:
      parentFieldOptionValue - The value in the parent field.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • childFieldOptionValues

      ParentChildFieldOptionsMapping.Builder childFieldOptionValues(Collection<String> childFieldOptionValues)

      A list of allowed values in the child field.

      Parameters:
      childFieldOptionValues - A list of allowed values in the child field.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • childFieldOptionValues

      ParentChildFieldOptionsMapping.Builder childFieldOptionValues(String... childFieldOptionValues)

      A list of allowed values in the child field.

      Parameters:
      childFieldOptionValues - A list of allowed values in the child field.
      Returns:
      Returns a reference to this object so that method calls can be chained together.