Class Block.BlockBuilder

    • 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
    • Method Summary

      Modifier and Type Method Description
      final <Error class: unknown class> schemaDevice(SchemaDevice schemaDevice) The schema device to which this block must be linked
      final <Error class: unknown class> id(String id) The technical id of this block.
      final <Error class: unknown class> description(String description) A human-readable description of this block.
      final <Error class: unknown class> shortDescription(String shortDescription) A shorter variant of the Human-readable description of the field.
      final Block build() Build the SchemaDevice, throws IllegalArgumentException if something is wrong
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Block.BlockBuilder

        Block.BlockBuilder()
    • Method Detail

      • schemaDevice

         final <Error class: unknown class> schemaDevice(SchemaDevice schemaDevice)

        The schema device to which this block must be linked

      • id

         final <Error class: unknown class> id(String id)

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

      • description

         final <Error class: unknown class> description(String description)

        A human-readable description of this block.

      • shortDescription

         final <Error class: unknown class> shortDescription(String shortDescription)

        A shorter variant of the Human-readable description of the field. If no shorter version is available then it will be the same as the 'long' description.

      • build

         final Block build()

        Build the SchemaDevice, throws IllegalArgumentException if something is wrong