public class EnhancedIdentificationDataBlock extends DataBlock
EMPTY_VIFE
Constructor and Description |
---|
EnhancedIdentificationDataBlock() |
Modifier and Type | Method and Description |
---|---|
protected void |
accumulateDatatoJSON(net.sf.json.JSONObject json) |
void |
fromJSON(net.sf.json.JSONObject json) |
int |
getId() |
String |
getMan() |
MBusMedium |
getMedium() |
String |
getValueAsString() |
int |
getVersion() |
void |
setId(int id) |
void |
setMan(String man) |
void |
setMedium(MBusMedium medium) |
void |
setValue(String text) |
void |
setVersion(int version) |
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, vifFromJSON
public int getId()
public String getMan()
public MBusMedium getMedium()
public String getValueAsString()
getValueAsString
in class DataBlock
public int getVersion()
public void setId(int id)
id
- the id to setpublic void setMan(String man)
man
- the man to setpublic void setMedium(MBusMedium medium)
medium
- the medium to setpublic void setVersion(int version)
version
- the version to setpublic void toString(StringBuilder sb, String inset)
protected void accumulateDatatoJSON(net.sf.json.JSONObject json)
accumulateDatatoJSON
in class DataBlock
public void fromJSON(net.sf.json.JSONObject json)
fromJSON
in interface JSONSerializable
fromJSON
in class DataBlock
Copyright © 2009–2016 MBus4J. All rights reserved.