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()
Reason for rejection.
|
double |
getTimestep() |
short |
getType()
This field represents the type of the rejected velocity.
|
double |
getValue() |
DvlRejection |
setReason(DvlRejection.REASON reason) |
DvlRejection |
setReason(short reason) |
DvlRejection |
setReason(java.lang.String reason) |
DvlRejection |
setTimestep(double timestep) |
DvlRejection |
setType(short type) |
DvlRejection |
setValue(double value) |
asJSON, asXml, cloneMessage, cloneMessage, compareTo, copyFrom, decodeTupleList, dump, encodeTupleList, get, getAbbrev, getAsNumber, getAsString, getBitmask, getDate, getDouble, getDst, getDstEnt, getFieldNames, getFloat, getHeader, getHeaderValue, getInteger, getLong, getLongFieldName, getLongName, getMessage, getMessage, 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, parseXml, payloadMD5, serialize, serialize, setBitMask, setDst, setDstEnt, setHeader, setMessageList, setSrc, setSrcEnt, setTimestamp, setTimestampMillis, setType, setValue, setValues, toString, validate
public static final int ID_STATIC
public static final short TYPE_GV
public static final short TYPE_WV
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.REASON getReason()
public double getValue()
public double getTimestep()
public DvlRejection setType(short type)
type
- Type of velocity (bitfield)public DvlRejection setReason(DvlRejection.REASON reason)
reason
- Reason (enumerated)public DvlRejection setReason(java.lang.String reason)
reason
- Reason (as a String)public DvlRejection setReason(short reason)
reason
- Reason (integer value)public DvlRejection setValue(double value)
value
- Value (m/s)public DvlRejection setTimestep(double timestep)
timestep
- Timestep (s)