public class Distance extends IMCMessage
Modifier and Type | Class and Description |
---|---|
static class |
Distance.VALIDITY |
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
Distance() |
Distance(Distance.VALIDITY validity,
java.util.Collection<DeviceState> location,
java.util.Collection<BeamConfig> beam_config,
float value) |
Distance(IMCDefinition defs) |
Distance(IMCMessage msg) |
Modifier and Type | Method and Description |
---|---|
static Distance |
clone(IMCMessage msg) |
static Distance |
create(java.lang.Object... values) |
java.util.Vector<BeamConfig> |
getBeamConfig() |
java.util.Vector<DeviceState> |
getLocation() |
Distance.VALIDITY |
getValidity() |
java.lang.String |
getValidityStr() |
short |
getValidityVal() |
double |
getValue() |
Distance |
setBeamConfig(java.util.Collection<BeamConfig> beam_config) |
Distance |
setLocation(java.util.Collection<DeviceState> location) |
Distance |
setValidity(Distance.VALIDITY validity) |
Distance |
setValidityStr(java.lang.String validity) |
Distance |
setValidityVal(short validity) |
Distance |
setValue(double value) |
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 Distance()
public Distance(IMCMessage msg)
public Distance(IMCDefinition defs)
public Distance(Distance.VALIDITY validity, java.util.Collection<DeviceState> location, java.util.Collection<BeamConfig> beam_config, float value)
public static Distance create(java.lang.Object... values)
public static Distance clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public Distance.VALIDITY getValidity()
public java.lang.String getValidityStr()
public short getValidityVal()
public Distance setValidity(Distance.VALIDITY validity)
validity
- Validity (enumerated)public Distance setValidityStr(java.lang.String validity)
validity
- Validity (as a String)public Distance setValidityVal(short validity)
validity
- Validity (integer value)public java.util.Vector<DeviceState> getLocation()
public Distance setLocation(java.util.Collection<DeviceState> location)
location
- Locationpublic java.util.Vector<BeamConfig> getBeamConfig()
public Distance setBeamConfig(java.util.Collection<BeamConfig> beam_config)
beam_config
- Beam Configurationpublic double getValue()
public Distance setValue(double value)
value
- Measured Distance (m)