Package com.io7m.cedarbridge.schema.compiled

# Interface CBRecordBuilderType

All Superinterfaces:
  `CBTypeDeclarationBuilderType`

public interface CBRecordBuilderType extends CBTypeDeclarationBuilderType
A builder of record types.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `CBRecordBuilderType`
  `createField(String name, CBTypeExpressionType type, List<String> documentation)`
  Create a new record field.

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

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

- ## Method Details

  - ### createField

    CBRecordBuilderType createField(String name, CBTypeExpressionType type, List<String> documentation)
    Create a new record field.
    Parameters:
      `name` - The field name
      `type` - The field type
      `documentation` - The documentation
    Returns:
      A new record field