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