dk.tbsalling.aismessages.messages.types
Enum PositionFixingDevice

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

public enum PositionFixingDevice
extends Enum<PositionFixingDevice>


Enum Constant Summary
Chayka
           
CombinedGpsGlonass
           
Galileo
           
Glonass
           
Gps
           
IntegratedNavigationSystem
           
LoranC
           
Surveyed
           
Undefined
           
 
Method Summary
static PositionFixingDevice fromInteger(Integer integer)
           
 Integer getCode()
           
 String getValue()
           
static PositionFixingDevice valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PositionFixingDevice[] 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

Undefined

public static final PositionFixingDevice Undefined

Gps

public static final PositionFixingDevice Gps

Glonass

public static final PositionFixingDevice Glonass

CombinedGpsGlonass

public static final PositionFixingDevice CombinedGpsGlonass

LoranC

public static final PositionFixingDevice LoranC

Chayka

public static final PositionFixingDevice Chayka

IntegratedNavigationSystem

public static final PositionFixingDevice IntegratedNavigationSystem

Surveyed

public static final PositionFixingDevice Surveyed

Galileo

public static final PositionFixingDevice Galileo
Method Detail

values

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

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

valueOf

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


Copyright © 2013 Thomas Borg Salling. All Rights Reserved.