Package com.io7m.cedarbridge.schema.compiled

# Interface CBVariantBuilderType

All Superinterfaces:
  `CBTypeDeclarationBuilderType`

public interface CBVariantBuilderType extends CBTypeDeclarationBuilderType
A builder of variant types.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `CBVariantCaseBuilderType`
  `createCase(String name)`
  Create a new variant case.

  ### Methods inherited from interface com.io7m.cedarbridge.schema.compiled.CBTypeDeclarationBuilderType

  `addTypeParameter, findParameter, ownerPackage, reference, referenceParameter, setDocumentation, setExternalName`

- ## Method Details

  - ### createCase

    CBVariantCaseBuilderType createCase(String name)
    Create a new variant case.
    Parameters:
      `name` - The name of the case
    Returns:
      A case builder