public class PlanStatistics extends IMCMessage
Modifier and Type | Class and Description |
---|---|
static class |
PlanStatistics.TYPE |
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
static short |
PRP_ALL |
static short |
PRP_BASIC |
static short |
PRP_CYCLICAL |
static short |
PRP_INFINITE |
static short |
PRP_NONLINEAR |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
PlanStatistics() |
PlanStatistics(IMCDefinition defs) |
PlanStatistics(IMCMessage msg) |
PlanStatistics(java.lang.String plan_id,
PlanStatistics.TYPE type,
short properties,
java.lang.String durations,
java.lang.String distances,
java.lang.String actions,
java.lang.String fuel) |
Modifier and Type | Method and Description |
---|---|
static PlanStatistics |
clone(IMCMessage msg) |
static PlanStatistics |
create(java.lang.Object... values) |
java.util.LinkedHashMap<java.lang.String,java.lang.String> |
getActions() |
java.util.LinkedHashMap<java.lang.String,java.lang.String> |
getDistances() |
java.util.LinkedHashMap<java.lang.String,java.lang.String> |
getDurations() |
java.util.LinkedHashMap<java.lang.String,java.lang.String> |
getFuel() |
java.lang.String |
getPlanId() |
short |
getProperties() |
PlanStatistics.TYPE |
getType() |
java.lang.String |
getTypeStr() |
short |
getTypeVal() |
PlanStatistics |
setActions(java.util.LinkedHashMap<java.lang.String,?> actions) |
PlanStatistics |
setActions(java.lang.String actions) |
PlanStatistics |
setDistances(java.util.LinkedHashMap<java.lang.String,?> distances) |
PlanStatistics |
setDistances(java.lang.String distances) |
PlanStatistics |
setDurations(java.util.LinkedHashMap<java.lang.String,?> durations) |
PlanStatistics |
setDurations(java.lang.String durations) |
PlanStatistics |
setFuel(java.util.LinkedHashMap<java.lang.String,?> fuel) |
PlanStatistics |
setFuel(java.lang.String fuel) |
PlanStatistics |
setPlanId(java.lang.String plan_id) |
PlanStatistics |
setProperties(short properties) |
PlanStatistics |
setType(PlanStatistics.TYPE type) |
PlanStatistics |
setTypeStr(java.lang.String type) |
PlanStatistics |
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 short PRP_BASIC
public static final short PRP_NONLINEAR
public static final short PRP_INFINITE
public static final short PRP_CYCLICAL
public static final short PRP_ALL
public static final int ID_STATIC
public PlanStatistics()
public PlanStatistics(IMCMessage msg)
public PlanStatistics(IMCDefinition defs)
public PlanStatistics(java.lang.String plan_id, PlanStatistics.TYPE type, short properties, java.lang.String durations, java.lang.String distances, java.lang.String actions, java.lang.String fuel)
public static PlanStatistics create(java.lang.Object... values)
public static PlanStatistics clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public java.lang.String getPlanId()
public PlanStatistics setPlanId(java.lang.String plan_id)
plan_id
- Plan Identifierpublic PlanStatistics.TYPE getType()
public java.lang.String getTypeStr()
public short getTypeVal()
public PlanStatistics setType(PlanStatistics.TYPE type)
type
- Type (enumerated)public PlanStatistics setTypeStr(java.lang.String type)
type
- Type (as a String)public PlanStatistics setTypeVal(short type)
type
- Type (integer value)public short getProperties()
public PlanStatistics setProperties(short properties)
properties
- Properties (bitfield)public java.util.LinkedHashMap<java.lang.String,java.lang.String> getDurations()
public PlanStatistics setDurations(java.util.LinkedHashMap<java.lang.String,?> durations)
durations
- Durations (tuplelist)public PlanStatistics setDurations(java.lang.String durations)
public java.util.LinkedHashMap<java.lang.String,java.lang.String> getDistances()
public PlanStatistics setDistances(java.util.LinkedHashMap<java.lang.String,?> distances)
distances
- Distances (tuplelist)public PlanStatistics setDistances(java.lang.String distances)
public java.util.LinkedHashMap<java.lang.String,java.lang.String> getActions()
public PlanStatistics setActions(java.util.LinkedHashMap<java.lang.String,?> actions)
actions
- Actions (tuplelist)public PlanStatistics setActions(java.lang.String actions)
public java.util.LinkedHashMap<java.lang.String,java.lang.String> getFuel()
public PlanStatistics setFuel(java.util.LinkedHashMap<java.lang.String,?> fuel)
fuel
- Fuel (tuplelist)public PlanStatistics setFuel(java.lang.String fuel)