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(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()
Type of message.
|
void |
setContext(java.lang.String context) |
void |
setHtime(double htime) |
void |
setText(java.lang.String text) |
void |
setType(LogBookEntry.TYPE type) |
void |
setType(short type) |
void |
setType(java.lang.String type) |
asJSON, asXml, cloneMessage, cloneMessage, compareTo, decodeTupleList, dump, encodeTupleList, get, getAbbrev, getAsNumber, getAsString, getBitmask, getDate, getDouble, getDst, getDstEnt, getFieldNames, getFloat, getHeader, getHeaderValue, getInteger, getLong, getLongFieldName, getLongName, getMessage, getMessage, getMessageList, getMessageList, getMessageType, getMgid, getPayloadSize, getProtocolFactory, getRawData, getSize, getSourceName, getSrc, getSrcEnt, getString, getString, getTimestamp, getTimestampMillis, getTupleList, getTypeOf, getUnitsOf, getValue, hasFlag, hexdump, isNull, isPeriodic, main, makeImmutable, parseXml, payloadMD5, serialize, serialize, setBitMask, setDst, setDstEnt, setHeader, setMessage, setMessageList, setSrc, setSrcEnt, setTimestamp, setTimestampMillis, setType, setValue, setValues, toString, validate
public static final int ID_STATIC
public LogBookEntry()
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 double getHtime()
public java.lang.String getContext()
public java.lang.String getText()
public void setType(LogBookEntry.TYPE type)
type
- Type (enumerated)public void setType(java.lang.String type)
type
- Type (as a String)public void setType(short type)
type
- Type (integer value)public void setHtime(double htime)
htime
- Timestamp (s)public void setContext(java.lang.String context)
context
- Contextpublic void setText(java.lang.String text)
text
- Text