Package nl.basjes.modbus.schema
Class Block.BlockBuilder
-
- All Implemented Interfaces:
public class Block.BlockBuilder
-
-
Constructor Summary
Constructors Constructor Description Block.BlockBuilder()
-
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 Blockbuild()Build the SchemaDevice, throws IllegalArgumentException if something is wrong -
-
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.
-
-
-
-