dk.tbsalling.aismessages.messages
Class DecodedAISMessage

java.lang.Object
  extended by dk.tbsalling.aismessages.messages.DecodedAISMessage
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AddressedBinaryMessage, AddressedSafetyRelatedMessage, AidToNavigationReport, AssignedModeCommand, BaseStationReport, BinaryAcknowledge, BinaryBroadcastMessage, BinaryMessageMultipleSlot, BinaryMessageSingleSlot, ChannelManagement, ClassBCSStaticDataReport, DataLinkManagement, Error, ExtendedClassBEquipmentPositionReport, GNSSBinaryBroadcastMessage, GroupAssignmentCommand, Interrogation, PositionReport, SafetyRelatedAcknowledge, SafetyRelatedBroadcastMessage, ShipAndVoyageData, StandardClassBCSPositionReport, StandardSARAircraftPositionReport, UTCAndDateInquiry, UTCAndDateResponse

public abstract class DecodedAISMessage
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
protected DecodedAISMessage(AISMessageType messageType, Integer repeatIndicator, MMSI sourceMmsi)
           
 
Method Summary
 boolean equals(Object obj)
           
 AISMessageType getMessageType()
           
 Metadata getMetadata()
           
 Integer getRepeatIndicator()
           
 MMSI getSourceMmsi()
           
 int hashCode()
           
 void setMetadata(Metadata metadata)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DecodedAISMessage

protected DecodedAISMessage(AISMessageType messageType,
                            Integer repeatIndicator,
                            MMSI sourceMmsi)
Method Detail

getMetadata

public final Metadata getMetadata()

setMetadata

public final void setMetadata(Metadata metadata)

getMessageType

public final AISMessageType getMessageType()

getRepeatIndicator

public final Integer getRepeatIndicator()

getSourceMmsi

public final MMSI getSourceMmsi()

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2013 Thomas Borg Salling. All Rights Reserved.