public class RawDataBlock extends DataBlock
EMPTY_VIFE| Constructor and Description |
|---|
RawDataBlock() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
accumulateDatatoJSON(net.sf.json.JSONObject json) |
void |
fromJSON(net.sf.json.JSONObject json) |
byte[] |
getValue() |
String |
getValueAsString() |
void |
setValue(byte[] value) |
void |
setValue(int... value) |
void |
setValue(String text) |
void |
toString(StringBuilder sb,
String inset) |
addVife, clearVifes, formatBcdError, getAction, getCorrectionConstant, getCorrectionExponent, getDataBlockClass, getDataFieldCode, getExponent, getFunctionField, getParamDescr, getSiPrefix, getStorageNumber, getSubUnit, getTariff, getUnitOfMeasurement, getVif, getVif, getVife, getVifes, setAction, setDataFieldCode, setFunctionField, setStorageNumber, setSubUnit, setTariff, setVif, toJSON, toString, vifesFromJSON, vifFromJSONpublic byte[] getValue()
public String getValueAsString()
getValueAsString in class DataBlockpublic void setValue(byte[] value)
value - the value to setpublic void setValue(int... value)
public void toString(StringBuilder sb, String inset)
protected void accumulateDatatoJSON(net.sf.json.JSONObject json)
accumulateDatatoJSON in class DataBlockpublic void fromJSON(net.sf.json.JSONObject json)
fromJSON in interface JSONSerializablefromJSON in class DataBlockCopyright © 2009–2016 MBus4J. All rights reserved.