public class TrexOperation extends IMCMessage
Modifier and Type | Class and Description |
---|---|
static class |
TrexOperation.OP |
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
TrexOperation() |
TrexOperation(IMCDefinition defs) |
TrexOperation(IMCMessage msg) |
TrexOperation(TrexOperation.OP op,
java.lang.String goal_id,
TrexToken token) |
Modifier and Type | Method and Description |
---|---|
static TrexOperation |
clone(IMCMessage msg) |
static TrexOperation |
create(java.lang.Object... values) |
java.lang.String |
getGoalId() |
TrexOperation.OP |
getOp() |
java.lang.String |
getOpStr() |
short |
getOpVal() |
TrexToken |
getToken() |
TrexOperation |
setGoalId(java.lang.String goal_id) |
TrexOperation |
setOp(TrexOperation.OP op) |
TrexOperation |
setOpStr(java.lang.String op) |
TrexOperation |
setOpVal(short op) |
TrexOperation |
setToken(TrexToken token) |
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 TrexOperation()
public TrexOperation(IMCMessage msg)
public TrexOperation(IMCDefinition defs)
public TrexOperation(TrexOperation.OP op, java.lang.String goal_id, TrexToken token)
public static TrexOperation create(java.lang.Object... values)
public static TrexOperation clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public TrexOperation.OP getOp()
public java.lang.String getOpStr()
public short getOpVal()
public TrexOperation setOp(TrexOperation.OP op)
op
- Operation (enumerated)public TrexOperation setOpStr(java.lang.String op)
op
- Operation (as a String)public TrexOperation setOpVal(short op)
op
- Operation (integer value)public java.lang.String getGoalId()
public TrexOperation setGoalId(java.lang.String goal_id)
goal_id
- Goal Idpublic TrexToken getToken()
public TrexOperation setToken(TrexToken token)
token
- Token