public enum NavigationalStatus extends Enum<NavigationalStatus>
<p>
<p>
0 = under way using engine,
1 = at anchor,
2 = not under command,
3 = restricted manoeuvrability
4 = constrained by her draught,
5 = moore
6 = aground
7 = engaged in fishing
8 = under way sailing
9 = reserved for future amendment of navigational status for ships carrying DG, HS, or MP, or IMO hazard or pollutant category C, high speed craft (HSC),
10 = reserved for future amendment of navigational status for ships carrying dangerous goods (DG), harmful substances (HS) or marine pollutants (MP), or IMO hazard or pollutant category A, wing in grand (WIG);
11-13 = reserved for future use,
14 = AIS-SART (active),
15 = not defined = default (also used by AIS-SART under test)| Enum Constant and Description |
|---|
AGROUND
Aground navigational status.
|
AIS_SART
The Ais sart.
|
AT_ANCHOR
At anchor navigational status.
|
CONSTRAINED_BY_HER_DRAUGHT
Constrained by her draught navigational status.
|
ENGAGED_IN_FISHING
Engaged in fishing navigational status.
|
MOORED
Moored navigational status.
|
NOT_UNDER_COMMAND
Not under command navigational status.
|
RESTRICTED_MANOEUVRABILITY
Restricted manoeuvrability navigational status.
|
UNDEFINED
Undefined navigational status.
|
UNDER_WAY
Under way navigational status.
|
UNDER_WAY_USING_ENGINE
Under way using engine navigational status.
|
| Modifier and Type | Method and Description |
|---|---|
static NavigationalStatus |
get(int intNavigationalStatus)
Get navigational status.
|
int |
getCode()
Gets code.
|
String |
prettyStatus()
Pretty status string.
|
String |
toString() |
static NavigationalStatus |
valueOf(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.
|
public static final NavigationalStatus UNDER_WAY_USING_ENGINE
public static final NavigationalStatus AT_ANCHOR
public static final NavigationalStatus NOT_UNDER_COMMAND
public static final NavigationalStatus RESTRICTED_MANOEUVRABILITY
public static final NavigationalStatus CONSTRAINED_BY_HER_DRAUGHT
public static final NavigationalStatus MOORED
public static final NavigationalStatus AGROUND
public static final NavigationalStatus ENGAGED_IN_FISHING
public static final NavigationalStatus UNDER_WAY
public static final NavigationalStatus UNDEFINED
public static final NavigationalStatus AIS_SART
public static NavigationalStatus[] values()
for (NavigationalStatus c : NavigationalStatus.values()) System.out.println(c);
public static NavigationalStatus valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getCode()
public static NavigationalStatus get(int intNavigationalStatus)
intNavigationalStatus - the int navigational statuspublic String prettyStatus()
public String toString()
toString in class Enum<NavigationalStatus>Copyright © 2011–2019 Danish Maritime Authority. All rights reserved.