dk.tbsalling.aismessages.messages
Class ShipAndVoyageData

java.lang.Object
  extended by dk.tbsalling.aismessages.messages.DecodedAISMessage
      extended by dk.tbsalling.aismessages.messages.ShipAndVoyageData
All Implemented Interfaces:
Serializable

public class ShipAndVoyageData
extends DecodedAISMessage

Message has a total of 424 bits, occupying two AIVDM sentences. In practice, the information in these fields (especially ETA and destination) is not reliable, as it has to be hand-updated by humans rather than gathered automatically from sensors.

Author:
tbsalling
See Also:
Serialized Form

Method Summary
static ShipAndVoyageData fromEncodedMessage(EncodedAISMessage encodedMessage)
           
 String getCallsign()
           
 Boolean getDataTerminalReady()
           
 String getDestination()
           
 Float getDraught()
           
 String getEta()
           
 IMO getImo()
           
 PositionFixingDevice getPositionFixingDevice()
           
 String getShipName()
           
 ShipType getShipType()
           
 Integer getToBow()
           
 Integer getToPort()
           
 Integer getToStarboard()
           
 Integer getToStern()
           
 String toString()
           
 
Methods inherited from class dk.tbsalling.aismessages.messages.DecodedAISMessage
equals, getMessageType, getMetadata, getRepeatIndicator, getSourceMmsi, hashCode, setMetadata
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getImo

public final IMO getImo()

getCallsign

public final String getCallsign()

getShipName

public final String getShipName()

getShipType

public final ShipType getShipType()

getToBow

public final Integer getToBow()

getToStern

public final Integer getToStern()

getToStarboard

public final Integer getToStarboard()

getToPort

public final Integer getToPort()

getPositionFixingDevice

public final PositionFixingDevice getPositionFixingDevice()

getEta

public final String getEta()

getDraught

public final Float getDraught()

getDestination

public final String getDestination()

getDataTerminalReady

public final Boolean getDataTerminalReady()

toString

public String toString()
Overrides:
toString in class DecodedAISMessage

fromEncodedMessage

public static ShipAndVoyageData fromEncodedMessage(EncodedAISMessage encodedMessage)


Copyright © 2013 Thomas Borg Salling. All Rights Reserved.