Package AIS
Class AISStaticData
java.lang.Object
AIS.AISReport
AIS.AISStaticData
- All Implemented Interfaces:
Serializable
,ManagedParameters
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionint
double
double
double
double
int
int
long
int
int
int
static final long
int
double
-
Constructor Summary
ConstructorDescriptionAISStaticData
(String callSign, String shipName, int shipType, long etaMillis, double draught, String destination) Constructor for use when reading back from database. -
Method Summary
Modifier and TypeMethodDescriptiondouble
Get a set of data that describes all of the parameters in a classgetStationTypeString
(StationType stationType, int type) getVesselTypeAndCargo
(int type) double
getWidth()
toString()
boolean
unpackStandardStaticShipData
(NMEABitArray bitData)
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
imoNumber
public int imoNumber -
callSign
-
shipName
-
shipType
public int shipType -
etaMonth
public int etaMonth -
etaDay
public int etaDay -
etaHour
public int etaHour -
etaMinute
public int etaMinute -
staticDraught
public double staticDraught -
destination
-
dataClass
-
dimA
public double dimA -
dimB
public double dimB -
dimC
public double dimC -
dimD
public double dimD -
etaMilliseconds
public long etaMilliseconds -
classBPart
public int classBPart
-
-
Constructor Details
-
AISStaticData
public AISStaticData(String callSign, String shipName, int shipType, long etaMillis, double draught, String destination) Constructor for use when reading back from database.- Parameters:
callSign
- callSignshipName
- shipNameshipType
- shipTypeetaMillis
- eta Millisecondsdraught
- draughtdestination
- destination
-
-
Method Details
-
unpackStandardStaticShipData
-
toString
-
shipTypeAndCargo
-
getStationTypeString
-
getVesselTypeAndCargo
-
getLength
public double getLength() -
getWidth
public double getWidth() -
getParameterSet
Description copied from interface:ManagedParameters
Get a set of data that describes all of the parameters in a class- Specified by:
getParameterSet
in interfaceManagedParameters
- Returns:
- description of the parameters in a class.
-