public class PlanDB extends IMCMessage
Modifier and Type | Class and Description |
---|---|
static class |
PlanDB.OP |
static class |
PlanDB.TYPE |
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
PlanDB() |
PlanDB(IMCDefinition defs) |
PlanDB(IMCMessage msg) |
PlanDB(PlanDB.TYPE type,
PlanDB.OP op,
int request_id,
java.lang.String plan_id,
IMCMessage arg,
java.lang.String info) |
Modifier and Type | Method and Description |
---|---|
static PlanDB |
clone(IMCMessage msg) |
static PlanDB |
create(java.lang.Object... values) |
IMCMessage |
getArg() |
<T extends IMCMessage> |
getArg(java.lang.Class<T> clazz) |
java.lang.String |
getInfo() |
PlanDB.OP |
getOp() |
java.lang.String |
getOpStr() |
short |
getOpVal() |
java.lang.String |
getPlanId() |
int |
getRequestId() |
PlanDB.TYPE |
getType() |
java.lang.String |
getTypeStr() |
short |
getTypeVal() |
PlanDB |
setArg(IMCMessage arg) |
PlanDB |
setInfo(java.lang.String info) |
PlanDB |
setOp(PlanDB.OP op) |
PlanDB |
setOpStr(java.lang.String op) |
PlanDB |
setOpVal(short op) |
PlanDB |
setPlanId(java.lang.String plan_id) |
PlanDB |
setRequestId(int request_id) |
PlanDB |
setType(PlanDB.TYPE type) |
PlanDB |
setTypeStr(java.lang.String type) |
PlanDB |
setTypeVal(short type) |
asJSON, asJSON, asMap, asXml, asXmlStripped, cloneMessage, cloneMessage, compareTo, copyFrom, decodeTupleList, dump, encodeTupleList, get, getAbbrev, getAgeInSeconds, getAsNumber, getAsString, getBitmask, getDate, getDouble, getDst, getDstEnt, getEntityName, getFieldNames, getFloat, getHeader, getHeaderValue, getInteger, getLong, getLongFieldName, getLongName, getMessage, getMessage, getMessageInfo, getMessageList, getMessageList, getMessageType, getMgid, getPayloadSize, getProtocolFactory, getRawData, getSize, getSourceName, getSrc, getSrcEnt, getString, getString, getTimestamp, getTimestampMillis, getTupleList, getTypeOf, getUnitsOf, getValue, getValues, hasFlag, hexdump, isNull, isPeriodic, main, makeImmutable, parseJson, parseXml, payloadMD5, serialize, serialize, serialize, serializePayload, setBitMask, setDst, setDstEnt, setHeader, setMessageInfo, setMessageList, setSrc, setSrcEnt, setTimestamp, setTimestampMillis, setType, setValue, setValues, toString, validate
public static final int ID_STATIC
public PlanDB()
public PlanDB(IMCMessage msg)
public PlanDB(IMCDefinition defs)
public PlanDB(PlanDB.TYPE type, PlanDB.OP op, int request_id, java.lang.String plan_id, IMCMessage arg, java.lang.String info)
public static PlanDB create(java.lang.Object... values)
public static PlanDB clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public PlanDB.TYPE getType()
public java.lang.String getTypeStr()
public short getTypeVal()
public PlanDB setType(PlanDB.TYPE type)
type
- Type (enumerated)public PlanDB setTypeStr(java.lang.String type)
type
- Type (as a String)public PlanDB setTypeVal(short type)
type
- Type (integer value)public PlanDB.OP getOp()
public java.lang.String getOpStr()
public short getOpVal()
public PlanDB setOpStr(java.lang.String op)
op
- Operation (as a String)public PlanDB setOpVal(short op)
op
- Operation (integer value)public int getRequestId()
public PlanDB setRequestId(int request_id)
request_id
- Request IDpublic java.lang.String getPlanId()
public PlanDB setPlanId(java.lang.String plan_id)
plan_id
- Plan IDpublic IMCMessage getArg()
public <T extends IMCMessage> T getArg(java.lang.Class<T> clazz) throws java.lang.Exception
java.lang.Exception
public PlanDB setArg(IMCMessage arg)
arg
- Argumentpublic java.lang.String getInfo()
public PlanDB setInfo(java.lang.String info)
info
- Complementary Information