Package com.io7m.cedarbridge.schema.compiled

# Interface CBVariantCaseBuilderType

public interface CBVariantCaseBuilderType
A builder of variant cases.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `CBVariantCaseBuilderType`
  `createField(String name, CBTypeExpressionType type, List<String> documentation)`
  Create a new field within this variant case.
  `CBVariantBuilderType`
  `owner()`
  `void`
  `setDocumentation(List<String> documentation)`
  Set the documentation elements for the case.

- ## Method Details

  - ### createField

    CBVariantCaseBuilderType createField(String name, CBTypeExpressionType type, List<String> documentation)
    Create a new field within this variant case.
    Parameters:
      `name` - The field name
      `type` - The type name
      `documentation` - The documentation
    Returns:
      A case builder

  - ### owner

    CBVariantBuilderType owner()
    Returns:
      The owner of this variant case

  - ### setDocumentation

    void setDocumentation(List<String> documentation)
    Set the documentation elements for the case.
    Parameters:
      `documentation` - The documentation