dk.tbsalling.aismessages.messages.types
Enum PositionFixingDevice
java.lang.Object
java.lang.Enum<PositionFixingDevice>
dk.tbsalling.aismessages.messages.types.PositionFixingDevice
- All Implemented Interfaces:
- Serializable, Comparable<PositionFixingDevice>
public enum PositionFixingDevice
- extends Enum<PositionFixingDevice>
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
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.