Package AIS

Class AISStaticData

java.lang.Object
AIS.AISReport
AIS.AISStaticData
All Implemented Interfaces:
Serializable, ManagedParameters

public class AISStaticData extends AISReport implements Serializable, ManagedParameters
See Also:
  • Field Details

    • serialVersionUID

      public static final long serialVersionUID
      See Also:
    • imoNumber

      public int imoNumber
    • callSign

      public String callSign
    • shipName

      public String 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

      public String destination
    • dataClass

      public String 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 - callSign
      shipName - shipName
      shipType - shipType
      etaMillis - eta Milliseconds
      draught - draught
      destination - destination
  • Method Details

    • unpackStandardStaticShipData

      public boolean unpackStandardStaticShipData(NMEABitArray bitData)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • shipTypeAndCargo

      public String shipTypeAndCargo()
    • getStationTypeString

      public String getStationTypeString(StationType stationType, int type)
    • getVesselTypeAndCargo

      public String getVesselTypeAndCargo(int type)
    • getLength

      public double getLength()
    • getWidth

      public double getWidth()
    • getParameterSet

      public PamParameterSet getParameterSet()
      Description copied from interface: ManagedParameters
      Get a set of data that describes all of the parameters in a class
      Specified by:
      getParameterSet in interface ManagedParameters
      Returns:
      description of the parameters in a class.