public class LogBookEntry extends IMCMessage
Modifier and Type | Class and Description |
---|---|
static class |
LogBookEntry.TYPE |
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
LogBookEntry() |
LogBookEntry(IMCDefinition defs) |
LogBookEntry(IMCMessage msg) |
LogBookEntry(LogBookEntry.TYPE type,
double htime,
java.lang.String context,
java.lang.String text) |
Modifier and Type | Method and Description |
---|---|
static LogBookEntry |
clone(IMCMessage msg) |
static LogBookEntry |
create(java.lang.Object... values) |
java.lang.String |
getContext() |
double |
getHtime() |
java.lang.String |
getText() |
LogBookEntry.TYPE |
getType() |
java.lang.String |
getTypeStr() |
short |
getTypeVal() |
LogBookEntry |
setContext(java.lang.String context) |
LogBookEntry |
setHtime(double htime) |
LogBookEntry |
setText(java.lang.String text) |
LogBookEntry |
setType(LogBookEntry.TYPE type) |
LogBookEntry |
setTypeStr(java.lang.String type) |
LogBookEntry |
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 LogBookEntry()
public LogBookEntry(IMCMessage msg)
public LogBookEntry(IMCDefinition defs)
public LogBookEntry(LogBookEntry.TYPE type, double htime, java.lang.String context, java.lang.String text)
public static LogBookEntry create(java.lang.Object... values)
public static LogBookEntry clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public LogBookEntry.TYPE getType()
public java.lang.String getTypeStr()
public short getTypeVal()
public LogBookEntry setType(LogBookEntry.TYPE type)
type
- Type (enumerated)public LogBookEntry setTypeStr(java.lang.String type)
type
- Type (as a String)public LogBookEntry setTypeVal(short type)
type
- Type (integer value)public double getHtime()
public LogBookEntry setHtime(double htime)
htime
- Timestamp (s)public java.lang.String getContext()
public LogBookEntry setContext(java.lang.String context)
context
- Contextpublic java.lang.String getText()
public LogBookEntry setText(java.lang.String text)
text
- Text