Class Field.FieldBuilder

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

      • Field.FieldBuilder

        Field.FieldBuilder()
    • Method Detail

      • id

         final Field.FieldBuilder id(String id)

        The technical id of this field. Must be usable as an identifier in 'all' common programming languages. So "CamelCase" (without spaces) is a good choice.

      • immutable

         final Field.FieldBuilder immutable(Boolean immutable)

        If a field NEVER changes then this can be se to true. This allows a library to only read this value the first time and on subsequent updates skip reading this value.

      • fetchGroup

         final Field.FieldBuilder fetchGroup(String fetchGroup)

        An identifier to that can be used to ensure all needed registers are retrieved together. By default, filled with a random unique value or what was dictated by the block

      • build

         final Field build()

        Build the Field, throws IllegalArgumentException if something is wrong