Class MissingField
-
- All Implemented Interfaces:
-
nl.basjes.modbus.schema.expression.Expression,nl.basjes.modbus.schema.expression.numbers.NumericalExpression,nl.basjes.modbus.schema.expression.strings.StringExpression
public final class MissingField implements StringExpression, NumericalExpression
-
-
Field Summary
Fields Modifier and Type Field Description private BooleanisImmutableprivate final List<Expression.Problem>problemsprivate final ReturnTypereturnTypeprivate final List<Expression>subExpressionsprivate final List<Address>requiredRegistersprivate final List<Address>requiredMutableRegistersprivate final List<String>requiredFields
-
Constructor Summary
Constructors Constructor Description MissingField(String fieldName)
-
Method Summary
Modifier and Type Method Description BooleanisImmutable()UnitsetImmutable(Boolean isImmutable)List<Expression.Problem>getProblems()StringtoString()VoidgetValue(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, getRegisterValues, getRequiredFields, getRequiredMutableRegisters, getRequiredRegisters, getSubExpressions, initialize, toString -
Methods inherited from class nl.basjes.modbus.schema.expression.numbers.NumericalExpression
getGuarantee, getValueAsDouble, getValueAsLong -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
MissingField
MissingField(String fieldName)
-
-
Method Detail
-
isImmutable
Boolean isImmutable()
-
setImmutable
Unit setImmutable(Boolean isImmutable)
-
getProblems
List<Expression.Problem> getProblems()
-
getValue
Void getValue(SchemaDevice schemaDevice)
- Returns:
The String value or null if it was not implemented
-
-
-
-