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(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() |
void |
setReason(DvlRejection.REASON reason) |
void |
setReason(short reason) |
void |
setReason(java.lang.String reason) |
void |
setTimestep(double timestep) |
void |
setType(short type) |
void |
setValue(double value) |
asJSON, asXml, cloneMessage, cloneMessage, compareTo, 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, hasFlag, hexdump, isNull, isPeriodic, main, makeImmutable, parseXml, payloadMD5, serialize, serialize, setBitMask, setDst, setDstEnt, setHeader, setMessage, 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(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 void setType(short type)
type
- Type of velocity (bitfield)public void setReason(DvlRejection.REASON reason)
reason
- Reason (enumerated)public void setReason(java.lang.String reason)
reason
- Reason (as a String)public void setReason(short reason)
reason
- Reason (integer value)public void setValue(double value)
value
- Value (m/s)public void setTimestep(double timestep)
timestep
- Timestep (s)