public class HistoricEvent extends IMCMessage
Modifier and Type | Class and Description |
---|---|
static class |
HistoricEvent.TYPE |
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
HistoricEvent() |
HistoricEvent(IMCDefinition defs) |
HistoricEvent(IMCMessage msg) |
HistoricEvent(java.lang.String text,
HistoricEvent.TYPE type) |
Modifier and Type | Method and Description |
---|---|
static HistoricEvent |
clone(IMCMessage msg) |
static HistoricEvent |
create(java.lang.Object... values) |
java.lang.String |
getText() |
HistoricEvent.TYPE |
getType() |
java.lang.String |
getTypeStr() |
short |
getTypeVal() |
HistoricEvent |
setText(java.lang.String text) |
HistoricEvent |
setType(HistoricEvent.TYPE type) |
HistoricEvent |
setTypeStr(java.lang.String type) |
HistoricEvent |
setTypeVal(short type) |
asJSON, asJSON, asMap, asXml, asXmlStripped, cloneMessage, cloneMessage, compareTo, copyFrom, copyToClipoard, 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, makeImmutable, parseJson, parseXml, pasteFromClipoard, payloadMD5, serialize, serialize, serialize, serializePayload, setBitMask, setDst, setDstEnt, setHeader, setMessageInfo, setMessageList, setSrc, setSrcEnt, setTimestamp, setTimestampMillis, setType, setValue, setValues, toByteArray, toByteArray, toString, validate
public static final int ID_STATIC
public HistoricEvent()
public HistoricEvent(IMCMessage msg)
public HistoricEvent(IMCDefinition defs)
public HistoricEvent(java.lang.String text, HistoricEvent.TYPE type)
public static HistoricEvent create(java.lang.Object... values)
public static HistoricEvent clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public java.lang.String getText()
public HistoricEvent setText(java.lang.String text)
text
- Eventpublic HistoricEvent.TYPE getType()
public java.lang.String getTypeStr()
public short getTypeVal()
public HistoricEvent setType(HistoricEvent.TYPE type)
type
- Event Type (enumerated)public HistoricEvent setTypeStr(java.lang.String type)
type
- Event Type (as a String)public HistoricEvent setTypeVal(short type)
type
- Event Type (integer value)