Package com.io7m.cedarbridge.schema.compiled

# Interface CBVariantCaseType

All Superinterfaces:
  `CBFieldOwnerType`

All Known Implementing Classes:
  `CBVariantCase`

public non-sealed interface CBVariantCaseType extends CBFieldOwnerType
A single case within a `CBVariantType`. A (nominal) algebraic product type, analogous to an anonymous `CBRecordType`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `List<String>`
  `documentation()`
  `String`
  `name()`
  `CBVariantType`
  `owner()`

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

  `fields, fieldsByName`

- ## Method Details

  - ### owner

    CBVariantType owner()
    Returns:
      The type within which this case is declared

  - ### name

    String name()
    Returns:
      The name of the variant case

  - ### documentation

    List<String> documentation()
    Returns:
      The documentation for the case