Package com.io7m.cedarbridge.schema.compiled

# Interface CBFieldOwnerType

All Known Subinterfaces:
  `CBRecordType`, `CBVariantCaseType`

All Known Implementing Classes:
  `CBTypeDeclarationRecord`, `CBVariantCase`

public sealed interface CBFieldOwnerType permits CBRecordType, CBVariantCaseType
The objects that can contain fields.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `List<CBFieldType>`
  `fields()`
  `default Map<String,CBFieldType>`
  `fieldsByName()`

- ## Method Details

  - ### fields

    List<CBFieldType> fields()
    Returns:
      The fields of the record in declaration order

  - ### fieldsByName

    default Map<String,CBFieldType> fieldsByName()
    Returns:
      The fields of the record by name