dk.tbsalling.aismessages.messages.types
Enum AISMessageType

java.lang.Object
  extended by java.lang.Enum<AISMessageType>
      extended by dk.tbsalling.aismessages.messages.types.AISMessageType
All Implemented Interfaces:
Serializable, Comparable<AISMessageType>

public enum AISMessageType
extends Enum<AISMessageType>


Enum Constant Summary
AddressedBinaryMessage
           
AddressedSafetyRelatedMessage
           
AidToNavigationReport
           
AssignedModeCommand
           
BaseStationReport
           
BinaryAcknowledge
           
BinaryBroadcastMessage
           
BinaryMessageMultipleSlot
           
BinaryMessageSingleSlot
           
ChannelManagement
           
ClassBCSStaticDataReport
           
DataLinkManagement
           
Error
           
ExtendedClassBEquipmentPositionReport
           
GNSSBinaryBroadcastMessage
           
GroupAssignmentCommand
           
Interrogation
           
PositionReportClassAResponseToInterrogation
           
PositionReportClassAScheduled
           
PositionReportClassAAssignedSchedule
           
SafetyRelatedAcknowledge
           
SafetyRelatedBroadcastMessage
           
ShipAndVoyageRelatedData
           
StandardClassBCSPositionReport
           
StandardSARAircraftPositionReport
           
UTCAndDateInquiry
           
UTCAndDateResponse
           
 
Method Summary
static AISMessageType fromInteger(Integer integer)
           
 Integer getCode()
           
 String getValue()
           
static AISMessageType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AISMessageType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PositionReportClassAScheduled

public static final AISMessageType PositionReportClassAScheduled

PositionReportClassAAssignedSchedule

public static final AISMessageType PositionReportClassAAssignedSchedule

PositionReportClassAResponseToInterrogation

public static final AISMessageType PositionReportClassAResponseToInterrogation

BaseStationReport

public static final AISMessageType BaseStationReport

ShipAndVoyageRelatedData

public static final AISMessageType ShipAndVoyageRelatedData

AddressedBinaryMessage

public static final AISMessageType AddressedBinaryMessage

BinaryAcknowledge

public static final AISMessageType BinaryAcknowledge

BinaryBroadcastMessage

public static final AISMessageType BinaryBroadcastMessage

StandardSARAircraftPositionReport

public static final AISMessageType StandardSARAircraftPositionReport

UTCAndDateInquiry

public static final AISMessageType UTCAndDateInquiry

UTCAndDateResponse

public static final AISMessageType UTCAndDateResponse

AddressedSafetyRelatedMessage

public static final AISMessageType AddressedSafetyRelatedMessage

SafetyRelatedAcknowledge

public static final AISMessageType SafetyRelatedAcknowledge

SafetyRelatedBroadcastMessage

public static final AISMessageType SafetyRelatedBroadcastMessage

Interrogation

public static final AISMessageType Interrogation

AssignedModeCommand

public static final AISMessageType AssignedModeCommand

GNSSBinaryBroadcastMessage

public static final AISMessageType GNSSBinaryBroadcastMessage

StandardClassBCSPositionReport

public static final AISMessageType StandardClassBCSPositionReport

ExtendedClassBEquipmentPositionReport

public static final AISMessageType ExtendedClassBEquipmentPositionReport

DataLinkManagement

public static final AISMessageType DataLinkManagement

AidToNavigationReport

public static final AISMessageType AidToNavigationReport

ChannelManagement

public static final AISMessageType ChannelManagement

GroupAssignmentCommand

public static final AISMessageType GroupAssignmentCommand

ClassBCSStaticDataReport

public static final AISMessageType ClassBCSStaticDataReport

BinaryMessageSingleSlot

public static final AISMessageType BinaryMessageSingleSlot

BinaryMessageMultipleSlot

public static final AISMessageType BinaryMessageMultipleSlot

Error

public static final AISMessageType Error
Method Detail

values

public static AISMessageType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (AISMessageType c : AISMessageType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static AISMessageType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getCode

public Integer getCode()

getValue

public String getValue()

fromInteger

public static AISMessageType fromInteger(Integer integer)


Copyright © 2013 Thomas Borg Salling. All Rights Reserved.