public class EntityState extends IMCMessage
Modifier and Type | Class and Description |
---|---|
static class |
EntityState.STATE |
Modifier and Type | Field and Description |
---|---|
static short |
EFLA_HUMAN_INTERVENTION |
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
EntityState() |
EntityState(EntityState.STATE state,
short flags,
java.lang.String description) |
EntityState(IMCDefinition defs) |
EntityState(IMCMessage msg) |
Modifier and Type | Method and Description |
---|---|
static EntityState |
clone(IMCMessage msg) |
static EntityState |
create(java.lang.Object... values) |
java.lang.String |
getDescription() |
short |
getFlags() |
EntityState.STATE |
getState() |
java.lang.String |
getStateStr() |
short |
getStateVal() |
EntityState |
setDescription(java.lang.String description) |
EntityState |
setFlags(short flags) |
EntityState |
setState(EntityState.STATE state) |
EntityState |
setStateStr(java.lang.String state) |
EntityState |
setStateVal(short state) |
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 short EFLA_HUMAN_INTERVENTION
public static final int ID_STATIC
public EntityState()
public EntityState(IMCMessage msg)
public EntityState(IMCDefinition defs)
public EntityState(EntityState.STATE state, short flags, java.lang.String description)
public static EntityState create(java.lang.Object... values)
public static EntityState clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public EntityState.STATE getState()
public java.lang.String getStateStr()
public short getStateVal()
public EntityState setState(EntityState.STATE state)
state
- State (enumerated)public EntityState setStateStr(java.lang.String state)
state
- State (as a String)public EntityState setStateVal(short state)
state
- State (integer value)public short getFlags()
public EntityState setFlags(short flags)
flags
- Flags (bitfield)public java.lang.String getDescription()
public EntityState setDescription(java.lang.String description)
description
- Complementary description