com.io7m.jpra.model.types

## Interface TRecordBuilderType

-     public interface TRecordBuilderType

  The type of mutable records for `TRecord` values.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addField(FieldName name, IdentifierType id, TType type)` Add a value field.
    `void` | `addPaddingOctets(Optional<com.io7m.jlexing.core.ImmutableLexicalPositionType<Path>> lex, Size<SizeUnitOctetsType> size)` Add a field of padding octets.
    `TRecord` | `build()`

- - ### Method Detail

    - #### addPaddingOctets

          void addPaddingOctets(Optional<com.io7m.jlexing.core.ImmutableLexicalPositionType<Path>> lex,
                                Size<SizeUnitOctetsType> size)

      Add a field of padding octets.
      Parameters:
        `lex` - The lexical information, if any
        `size` - The size of the padding in octets

    - #### addField

          void addField(FieldName name,
                        IdentifierType id,
                        TType type)

      Add a value field.
      Parameters:
        `name` - The field name
        `id` - The field identifier
        `type` - The field type

    - #### build

          TRecord build()

      Returns:
        A constructed record

Copyright © 2015 <code@io7m.com> http://io7m.com