public class GeneralApplicationError extends Object implements LongFrame, PrimaryAddress
| Modifier and Type | Class and Description |
|---|---|
static class |
GeneralApplicationError.GeneralApplicationErrorEnum |
Frame.ControlCode| Modifier and Type | Field and Description |
|---|---|
static String |
RSP_UD_SUBTYPE |
| Constructor and Description |
|---|
GeneralApplicationError() |
GeneralApplicationError(UserDataResponse old) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addDataBlock(DataBlock dataBlock) |
void |
fromJSON(net.sf.json.JSONObject json) |
byte |
getAddress() |
Frame.ControlCode |
getControlCode() |
GeneralApplicationError.GeneralApplicationErrorEnum |
getError() |
DataBlock |
getLastDataBlock() |
boolean |
isAcd() |
boolean |
isDfc() |
Iterator<DataBlock> |
iterator() |
void |
replaceDataBlock(DataBlock oldDataBlock,
DataBlock newDataBlock) |
void |
setAcd(boolean acd) |
void |
setAddress(byte address) |
void |
setDfc(boolean dfc) |
void |
setError(byte b) |
void |
setError(GeneralApplicationError.GeneralApplicationErrorEnum error) |
net.sf.json.JSONObject |
toJSON(JsonSerializeType jsonSerializeType) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic static String RSP_UD_SUBTYPE
public GeneralApplicationError()
public GeneralApplicationError(UserDataResponse old)
public net.sf.json.JSONObject toJSON(JsonSerializeType jsonSerializeType)
toJSON in interface JSONSerializablepublic void fromJSON(net.sf.json.JSONObject json)
fromJSON in interface JSONSerializablepublic boolean addDataBlock(DataBlock dataBlock)
addDataBlock in interface LongFramepublic byte getAddress()
getAddress in interface PrimaryAddresspublic Frame.ControlCode getControlCode()
getControlCode in interface Framepublic GeneralApplicationError.GeneralApplicationErrorEnum getError()
public DataBlock getLastDataBlock()
getLastDataBlock in interface LongFramepublic boolean isAcd()
public boolean isDfc()
public void replaceDataBlock(DataBlock oldDataBlock, DataBlock newDataBlock)
replaceDataBlock in interface LongFramepublic void setAcd(boolean acd)
acd - the acd to setpublic void setAddress(byte address)
setAddress in interface PrimaryAddressaddress - the address to setpublic void setDfc(boolean dfc)
dcf - the dfc to setpublic void setError(byte b)
public void setError(GeneralApplicationError.GeneralApplicationErrorEnum error)
error - the error to setCopyright © 2009–2016 MBus4J. All rights reserved.