dk.tbsalling.aismessages.messages.types
Enum AidType

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

public enum AidType
extends Enum<AidType>


Enum Constant Summary
BeaconCardinalEast
           
BeaconCardinalNorth
           
BeaconCardinalSouth
           
BeaconCardinalWest
           
BeaconIsolatedDanger
           
BeaconPortHand
           
BeaconPreferredChannelPortHand
           
BeaconPreferredChannelStarboardHand
           
BeaconSafeWater
           
BeaconSpecialMark
           
BeaconStarboardHand
           
CardinalMarkEast
           
CardinalMarkNorth
           
CardinalMarkSouth
           
CardinalMarkWest
           
FixedStructure
           
FutureUse1
           
IsolatedDanger
           
LeadingLightFront
           
LeadingLightRear
           
LightVessel
           
LightWithoutSectors
           
LightWithSectors
           
PortHandMark
           
PreferredChannelPortHand
           
PreferredChannelStarboardHand
           
RACON
           
ReferencePoint
           
SafeWater
           
SpecialMark
           
StarboardHandMark
           
Unspecified
           
 
Method Summary
static AidType fromInteger(Integer integer)
           
 Integer getCode()
           
 String getValue()
           
static AidType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AidType[] 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

Unspecified

public static final AidType Unspecified

ReferencePoint

public static final AidType ReferencePoint

RACON

public static final AidType RACON

FixedStructure

public static final AidType FixedStructure

FutureUse1

public static final AidType FutureUse1

LightWithoutSectors

public static final AidType LightWithoutSectors

LightWithSectors

public static final AidType LightWithSectors

LeadingLightFront

public static final AidType LeadingLightFront

LeadingLightRear

public static final AidType LeadingLightRear

BeaconCardinalNorth

public static final AidType BeaconCardinalNorth

BeaconCardinalEast

public static final AidType BeaconCardinalEast

BeaconCardinalSouth

public static final AidType BeaconCardinalSouth

BeaconCardinalWest

public static final AidType BeaconCardinalWest

BeaconPortHand

public static final AidType BeaconPortHand

BeaconStarboardHand

public static final AidType BeaconStarboardHand

BeaconPreferredChannelPortHand

public static final AidType BeaconPreferredChannelPortHand

BeaconPreferredChannelStarboardHand

public static final AidType BeaconPreferredChannelStarboardHand

BeaconIsolatedDanger

public static final AidType BeaconIsolatedDanger

BeaconSafeWater

public static final AidType BeaconSafeWater

BeaconSpecialMark

public static final AidType BeaconSpecialMark

CardinalMarkNorth

public static final AidType CardinalMarkNorth

CardinalMarkEast

public static final AidType CardinalMarkEast

CardinalMarkSouth

public static final AidType CardinalMarkSouth

CardinalMarkWest

public static final AidType CardinalMarkWest

PortHandMark

public static final AidType PortHandMark

StarboardHandMark

public static final AidType StarboardHandMark

PreferredChannelPortHand

public static final AidType PreferredChannelPortHand

PreferredChannelStarboardHand

public static final AidType PreferredChannelStarboardHand

IsolatedDanger

public static final AidType IsolatedDanger

SafeWater

public static final AidType SafeWater

SpecialMark

public static final AidType SpecialMark

LightVessel

public static final AidType LightVessel
Method Detail

values

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

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

valueOf

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


Copyright © 2013 Thomas Borg Salling. All Rights Reserved.