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 Block.BlockBuilderschemaDevice(SchemaDevice schemaDevice)The schema device to which this block must be linked final Block.BlockBuilderid(String id)The technical id of this block. final Block.BlockBuilderdescription(String description)A human-readable description of this block. final Blockbuild()Build the SchemaDevice, throws IllegalArgumentException if something is wrong -
-
Method Detail
-
schemaDevice
final Block.BlockBuilder schemaDevice(SchemaDevice schemaDevice)
The schema device to which this block must be linked
-
id
final Block.BlockBuilder 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 Block.BlockBuilder description(String description)
A human-readable description of this block.
-
-
-
-