Package nl.basjes.modbus.schema
Class SchemaBlock
-
- All Implemented Interfaces:
@Serializable() public final class SchemaBlock
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringidprivate final Stringdescriptionprivate final List<SchemaField>fields
-
Constructor Summary
Constructors Constructor Description SchemaBlock(String id, String description, List<SchemaField> fields)
-
Method Summary
Modifier and Type Method Description final StringgetId()The technical id of the block. final StringgetDescription()The human-readable description of the block. final List<SchemaField>getFields()A list of all the fields in this block StringtoString()-
-
Constructor Detail
-
SchemaBlock
SchemaBlock(String id, String description, List<SchemaField> fields)
-
-
Method Detail
-
getId
final String getId()
The technical id of the block. Must be usable as an identifier in 'all' common programming languages. So "CamelCase" (without spaces, starting with a letter) is a good choice.
-
getDescription
final String getDescription()
The human-readable description of the block.
-
getFields
final List<SchemaField> getFields()
A list of all the fields in this block
-
-
-
-