dk.tbsalling.aismessages.messages
Class ShipAndVoyageData
java.lang.Object
dk.tbsalling.aismessages.messages.DecodedAISMessage
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
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.