Class HexString
-
- All Implemented Interfaces:
-
nl.basjes.modbus.schema.expression.Expression,nl.basjes.modbus.schema.expression.strings.StringExpression
public final class HexString implements StringExpression
-
-
Field Summary
Fields Modifier and Type Field Description private final List<Expression>subExpressionsprivate BooleanisImmutableprivate final List<Expression.Problem>problemsprivate final ReturnTypereturnTypeprivate final List<Address>requiredAddressesprivate final List<Address>requiredMutableAddressesprivate final List<String>requiredFields
-
Constructor Summary
Constructors Constructor Description HexString(RegistersExpression registers)
-
Method Summary
Modifier and Type Method Description List<Expression>getSubExpressions()BooleanisImmutable()UnitsetImmutable(Boolean isImmutable)List<Expression.Problem>getProblems()StringtoString()List<ModbusValue<?, ?>>getModbusValues(SchemaDevice schemaDevice)StringgetValue(SchemaDevice schemaDevice)-
Methods inherited from class nl.basjes.modbus.schema.expression.strings.StringExpression
getReturnType -
Methods inherited from class nl.basjes.modbus.schema.expression.Expression
check, checkFatal, combine, getRequiredAddresses, getRequiredFields, getRequiredMutableAddresses, initialize, toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
HexString
HexString(RegistersExpression registers)
-
-
Method Detail
-
getSubExpressions
List<Expression> getSubExpressions()
-
isImmutable
Boolean isImmutable()
-
setImmutable
Unit setImmutable(Boolean isImmutable)
-
getProblems
List<Expression.Problem> getProblems()
-
getModbusValues
List<ModbusValue<?, ?>> getModbusValues(SchemaDevice schemaDevice)
- Returns:
The list of the underlying Modbus values (RegisterValue or DiscreteValue) that are used to calculate this value.
-
getValue
String getValue(SchemaDevice schemaDevice)
- Returns:
The String value or null if it was not implemented
-
-
-
-