VALUE
- public class Value<VALUE> extends Object implements IValue<VALUE,String,String>
Modifier and Type | Field and Description |
---|---|
protected String |
annotation |
protected String |
loQualifier |
protected VALUE |
loValue |
protected String |
units |
protected String |
upQualifier |
protected VALUE |
upValue |
Constructor and Description |
---|
Value() |
Value(VALUE value) |
Value(VALUE value,
String qualifier) |
Modifier and Type | Method and Description |
---|---|
String |
asJSON() |
String |
getAnnotation() |
String |
getLoQualifier() |
VALUE |
getLoValue()
lower value
|
String |
getUnits() |
String |
getUpQualifier() |
VALUE |
getUpValue()
Upper value
|
void |
setAnnotation(String annotation) |
void |
setLoQualifier(String qualifier) |
void |
setLoValue(VALUE value) |
void |
setUnits(String unit) |
void |
setUpQualifier(String qualifier) |
void |
setUpValue(VALUE value) |
String |
toHumanReadable() |
String |
toJSON(StringBuilder b) |
String |
toString() |
protected String units
protected VALUE loValue
protected VALUE upValue
protected String loQualifier
protected String upQualifier
protected String annotation
public Value()
public Value(VALUE value)
public String getAnnotation()
getAnnotation
in interface IValue<VALUE,String,String>
public void setAnnotation(String annotation)
setAnnotation
in interface IValue<VALUE,String,String>
public void setUnits(String unit)
public VALUE getLoValue()
IValue
getLoValue
in interface IValue<VALUE,String,String>
public VALUE getUpValue()
IValue
getUpValue
in interface IValue<VALUE,String,String>
public void setLoValue(VALUE value)
setLoValue
in interface IValue<VALUE,String,String>
public void setUpValue(VALUE value)
setUpValue
in interface IValue<VALUE,String,String>
public String getUpQualifier()
getUpQualifier
in interface IValue<VALUE,String,String>
public String getLoQualifier()
getLoQualifier
in interface IValue<VALUE,String,String>
public void setUpQualifier(String qualifier)
setUpQualifier
in interface IValue<VALUE,String,String>
public void setLoQualifier(String qualifier)
setLoQualifier
in interface IValue<VALUE,String,String>
public String asJSON()
asJSON
in interface net.idea.modbcum.i.JSONSerializable
public String toJSON(StringBuilder b)
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.