dk.tbsalling.aismessages.messages.types
Enum ShipType

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

public enum ShipType
extends Enum<ShipType>


Enum Constant Summary
AntiPollutionEquipment
           
Cargo
           
CargoFuture1
           
CargoFuture2
           
CargoFuture3
           
CargoFuture4
           
CargoHazardousA
           
CargoHazardousB
           
CargoHazardousC
           
CargoHazardousD
           
CargoNoAdditionalInfo
           
DivingOps
           
DredgingOrUnderwaterOps
           
Fishing
           
HighSpeedCraft
           
HighSpeedCraftHarzardousA
           
HighSpeedCraftHarzardousB
           
HighSpeedCraftHarzardousC
           
HighSpeedCraftHarzardousD
           
LargeTowing
           
LawEnforcement
           
MedicalTransport
           
MilitaryOps
           
NotAvailable
           
Other
           
OtherFuture1
           
OtherFuture2
           
OtherFuture3
           
OtherFuture4
           
OtherHazardousA
           
OtherHazardousB
           
OtherHazardousC
           
OtherHazardousD
           
OtherNoAdditionalInfo
           
Passenger
           
PassengerFuture1
           
PassengerFuture2
           
PassengerFuture3
           
PassengerFuture4
           
PassengerHazardousA
           
PassengerHazardousB
           
PassengerHazardousC
           
PassengerHazardousD
           
PassengerNoAdditionalInfo
           
PilotVessel
           
PleasureCraft
           
PortTender
           
Sailing
           
SearchAndRescueVessel
           
ShipAccordingToRRResolutionNo18
           
SpareLocalVessel1
           
SpareLocalVessel2
           
Tanker
           
TankerFuture1
           
TankerFuture2
           
TankerFuture3
           
TankerFuture4
           
TankerHazardousA
           
TankerHazardousB
           
TankerHazardousC
           
TankerHazardousD
           
TankerNoAdditionalInfo
           
Towing
           
Tug
           
WingInGround
           
WingInGroundHazardousA
           
WingInGroundHazardousB
           
WingInGroundHazardousC
           
WingInGroundHazardousD
           
 
Method Summary
static ShipType fromInteger(Integer integer)
           
 Integer getCode()
           
 String getValue()
           
static ShipType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ShipType[] 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

NotAvailable

public static final ShipType NotAvailable

WingInGround

public static final ShipType WingInGround

WingInGroundHazardousA

public static final ShipType WingInGroundHazardousA

WingInGroundHazardousB

public static final ShipType WingInGroundHazardousB

WingInGroundHazardousC

public static final ShipType WingInGroundHazardousC

WingInGroundHazardousD

public static final ShipType WingInGroundHazardousD

Fishing

public static final ShipType Fishing

Towing

public static final ShipType Towing

LargeTowing

public static final ShipType LargeTowing

DredgingOrUnderwaterOps

public static final ShipType DredgingOrUnderwaterOps

DivingOps

public static final ShipType DivingOps

MilitaryOps

public static final ShipType MilitaryOps

Sailing

public static final ShipType Sailing

PleasureCraft

public static final ShipType PleasureCraft

HighSpeedCraft

public static final ShipType HighSpeedCraft

HighSpeedCraftHarzardousA

public static final ShipType HighSpeedCraftHarzardousA

HighSpeedCraftHarzardousB

public static final ShipType HighSpeedCraftHarzardousB

HighSpeedCraftHarzardousC

public static final ShipType HighSpeedCraftHarzardousC

HighSpeedCraftHarzardousD

public static final ShipType HighSpeedCraftHarzardousD

PilotVessel

public static final ShipType PilotVessel

SearchAndRescueVessel

public static final ShipType SearchAndRescueVessel

Tug

public static final ShipType Tug

PortTender

public static final ShipType PortTender

AntiPollutionEquipment

public static final ShipType AntiPollutionEquipment

LawEnforcement

public static final ShipType LawEnforcement

SpareLocalVessel1

public static final ShipType SpareLocalVessel1

SpareLocalVessel2

public static final ShipType SpareLocalVessel2

MedicalTransport

public static final ShipType MedicalTransport

ShipAccordingToRRResolutionNo18

public static final ShipType ShipAccordingToRRResolutionNo18

Passenger

public static final ShipType Passenger

PassengerHazardousA

public static final ShipType PassengerHazardousA

PassengerHazardousB

public static final ShipType PassengerHazardousB

PassengerHazardousC

public static final ShipType PassengerHazardousC

PassengerHazardousD

public static final ShipType PassengerHazardousD

PassengerFuture1

public static final ShipType PassengerFuture1

PassengerFuture2

public static final ShipType PassengerFuture2

PassengerFuture3

public static final ShipType PassengerFuture3

PassengerFuture4

public static final ShipType PassengerFuture4

PassengerNoAdditionalInfo

public static final ShipType PassengerNoAdditionalInfo

Cargo

public static final ShipType Cargo

CargoHazardousA

public static final ShipType CargoHazardousA

CargoHazardousB

public static final ShipType CargoHazardousB

CargoHazardousC

public static final ShipType CargoHazardousC

CargoHazardousD

public static final ShipType CargoHazardousD

CargoFuture1

public static final ShipType CargoFuture1

CargoFuture2

public static final ShipType CargoFuture2

CargoFuture3

public static final ShipType CargoFuture3

CargoFuture4

public static final ShipType CargoFuture4

CargoNoAdditionalInfo

public static final ShipType CargoNoAdditionalInfo

Tanker

public static final ShipType Tanker

TankerHazardousA

public static final ShipType TankerHazardousA

TankerHazardousB

public static final ShipType TankerHazardousB

TankerHazardousC

public static final ShipType TankerHazardousC

TankerHazardousD

public static final ShipType TankerHazardousD

TankerFuture1

public static final ShipType TankerFuture1

TankerFuture2

public static final ShipType TankerFuture2

TankerFuture3

public static final ShipType TankerFuture3

TankerFuture4

public static final ShipType TankerFuture4

TankerNoAdditionalInfo

public static final ShipType TankerNoAdditionalInfo

Other

public static final ShipType Other

OtherHazardousA

public static final ShipType OtherHazardousA

OtherHazardousB

public static final ShipType OtherHazardousB

OtherHazardousC

public static final ShipType OtherHazardousC

OtherHazardousD

public static final ShipType OtherHazardousD

OtherFuture1

public static final ShipType OtherFuture1

OtherFuture2

public static final ShipType OtherFuture2

OtherFuture3

public static final ShipType OtherFuture3

OtherFuture4

public static final ShipType OtherFuture4

OtherNoAdditionalInfo

public static final ShipType OtherNoAdditionalInfo
Method Detail

values

public static ShipType[] 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 (ShipType c : ShipType.values())
    System.out.println(c);

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

valueOf

public static ShipType 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 ShipType fromInteger(Integer integer)


Copyright © 2013 Thomas Borg Salling. All Rights Reserved.