public class DvlRejection extends IMCMessage
Modifier and Type | Class and Description |
---|---|
static class |
DvlRejection.REASON |
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
static short |
TYPE_GV |
static short |
TYPE_WV |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
DvlRejection() |
DvlRejection(IMCDefinition defs) |
DvlRejection(IMCMessage msg) |
DvlRejection(short type,
DvlRejection.REASON reason,
float value,
float timestep) |
Modifier and Type | Method and Description |
---|---|
static DvlRejection |
clone(IMCMessage msg) |
static DvlRejection |
create(java.lang.Object... values) |
DvlRejection.REASON |
getReason() |
java.lang.String |
getReasonStr() |
short |
getReasonVal() |
double |
getTimestep() |
short |
getType() |
double |
getValue() |
DvlRejection |
setReason(DvlRejection.REASON reason) |
DvlRejection |
setReasonStr(java.lang.String reason) |
DvlRejection |
setReasonVal(short reason) |
DvlRejection |
setTimestep(double timestep) |
DvlRejection |
setType(short type) |
DvlRejection |
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 short TYPE_GV
public static final short TYPE_WV
public static final int ID_STATIC
public DvlRejection()
public DvlRejection(IMCMessage msg)
public DvlRejection(IMCDefinition defs)
public DvlRejection(short type, DvlRejection.REASON reason, float value, float timestep)
public static DvlRejection create(java.lang.Object... values)
public static DvlRejection clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public short getType()
public DvlRejection setType(short type)
type
- Type of velocity (bitfield)public DvlRejection.REASON getReason()
public java.lang.String getReasonStr()
public short getReasonVal()
public DvlRejection setReason(DvlRejection.REASON reason)
reason
- Reason (enumerated)public DvlRejection setReasonStr(java.lang.String reason)
reason
- Reason (as a String)public DvlRejection setReasonVal(short reason)
reason
- Reason (integer value)public double getValue()
public DvlRejection setValue(double value)
value
- Value (m/s)public double getTimestep()
public DvlRejection setTimestep(double timestep)
timestep
- Timestep (s)