dk.tbsalling.aismessages.messages
Class BaseStationReport

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

public class BaseStationReport
extends DecodedAISMessage

This message is to be used by fixed-location base stations to periodically report a position and time reference.

Author:
tbsalling
See Also:
Serialized Form

Constructor Summary
BaseStationReport(Integer repeatIndicator, MMSI sourceMmsi, Integer year, Integer month, Integer day, Integer hour, Integer minute, Integer second, Boolean positionAccurate, Float latitude, Float longitude, PositionFixingDevice positionFixingDevice, Boolean raimFlag)
           
 
Method Summary
static BaseStationReport fromEncodedMessage(EncodedAISMessage encodedMessage)
           
 Integer getDay()
           
 Integer getHour()
           
 Float getLatitude()
           
 Float getLongitude()
           
 Integer getMinute()
           
 Integer getMonth()
           
 Boolean getPositionAccurate()
           
 PositionFixingDevice getPositionFixingDevice()
           
 Boolean getRaimFlag()
           
 Integer getSecond()
           
 Integer getYear()
           
 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
 

Constructor Detail

BaseStationReport

public BaseStationReport(Integer repeatIndicator,
                         MMSI sourceMmsi,
                         Integer year,
                         Integer month,
                         Integer day,
                         Integer hour,
                         Integer minute,
                         Integer second,
                         Boolean positionAccurate,
                         Float latitude,
                         Float longitude,
                         PositionFixingDevice positionFixingDevice,
                         Boolean raimFlag)
Method Detail

getYear

public final Integer getYear()

getMonth

public final Integer getMonth()

getDay

public final Integer getDay()

getHour

public final Integer getHour()

getMinute

public final Integer getMinute()

getSecond

public final Integer getSecond()

getPositionAccurate

public final Boolean getPositionAccurate()

getLatitude

public final Float getLatitude()

getLongitude

public final Float getLongitude()

getPositionFixingDevice

public final PositionFixingDevice getPositionFixingDevice()

getRaimFlag

public final Boolean getRaimFlag()

toString

public String toString()
Overrides:
toString in class DecodedAISMessage

fromEncodedMessage

public static BaseStationReport fromEncodedMessage(EncodedAISMessage encodedMessage)


Copyright © 2013 Thomas Borg Salling. All Rights Reserved.