public class VehicleMedium extends IMCMessage
Modifier and Type | Class and Description |
---|---|
static class |
VehicleMedium.MEDIUM |
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
VehicleMedium() |
VehicleMedium(IMCDefinition defs) |
VehicleMedium(IMCMessage msg) |
VehicleMedium(VehicleMedium.MEDIUM medium) |
Modifier and Type | Method and Description |
---|---|
static VehicleMedium |
clone(IMCMessage msg) |
static VehicleMedium |
create(java.lang.Object... values) |
VehicleMedium.MEDIUM |
getMedium() |
java.lang.String |
getMediumStr() |
short |
getMediumVal() |
VehicleMedium |
setMedium(VehicleMedium.MEDIUM medium) |
VehicleMedium |
setMediumStr(java.lang.String medium) |
VehicleMedium |
setMediumVal(short medium) |
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 VehicleMedium()
public VehicleMedium(IMCMessage msg)
public VehicleMedium(IMCDefinition defs)
public VehicleMedium(VehicleMedium.MEDIUM medium)
public static VehicleMedium create(java.lang.Object... values)
public static VehicleMedium clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public VehicleMedium.MEDIUM getMedium()
public java.lang.String getMediumStr()
public short getMediumVal()
public VehicleMedium setMedium(VehicleMedium.MEDIUM medium)
medium
- Medium (enumerated)public VehicleMedium setMediumStr(java.lang.String medium)
medium
- Medium (as a String)public VehicleMedium setMediumVal(short medium)
medium
- Medium (integer value)