Package au.gov.amsa.ais.message
Enum NavigationalStatus
- java.lang.Object
-
- java.lang.Enum<NavigationalStatus>
-
- au.gov.amsa.ais.message.NavigationalStatus
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<NavigationalStatus>
public enum NavigationalStatus extends java.lang.Enum<NavigationalStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AGROUNDAIS_SARTAT_ANCHORCONSTRAINED_BY_HER_DRAUGHTENGAGED_IN_FISHINGFUTURE_1FUTURE_2FUTURE_3MOOREDNOT_DEFINEDNOT_UNDER_COMMANDRESERVED_1RESERVED_2RESTRICTED_MANOEUVRABILITYUNDER_WAYUNDER_WAY_USING_ENGINE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NavigationalStatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static NavigationalStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNDER_WAY_USING_ENGINE
public static final NavigationalStatus UNDER_WAY_USING_ENGINE
-
AT_ANCHOR
public static final NavigationalStatus AT_ANCHOR
-
NOT_UNDER_COMMAND
public static final NavigationalStatus NOT_UNDER_COMMAND
-
RESTRICTED_MANOEUVRABILITY
public static final NavigationalStatus RESTRICTED_MANOEUVRABILITY
-
CONSTRAINED_BY_HER_DRAUGHT
public static final NavigationalStatus CONSTRAINED_BY_HER_DRAUGHT
-
MOORED
public static final NavigationalStatus MOORED
-
AGROUND
public static final NavigationalStatus AGROUND
-
ENGAGED_IN_FISHING
public static final NavigationalStatus ENGAGED_IN_FISHING
-
UNDER_WAY
public static final NavigationalStatus UNDER_WAY
-
RESERVED_1
public static final NavigationalStatus RESERVED_1
-
RESERVED_2
public static final NavigationalStatus RESERVED_2
-
FUTURE_1
public static final NavigationalStatus FUTURE_1
-
FUTURE_2
public static final NavigationalStatus FUTURE_2
-
FUTURE_3
public static final NavigationalStatus FUTURE_3
-
AIS_SART
public static final NavigationalStatus AIS_SART
-
NOT_DEFINED
public static final NavigationalStatus NOT_DEFINED
-
-
Method Detail
-
values
public static NavigationalStatus[] 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 (NavigationalStatus c : NavigationalStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NavigationalStatus valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-