Package au.gov.amsa.ais.rx
Enum CraftPropertyName
- java.lang.Object
-
- java.lang.Enum<CraftPropertyName>
-
- au.gov.amsa.ais.rx.CraftPropertyName
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CraftPropertyName>
public enum CraftPropertyName extends java.lang.Enum<CraftPropertyName>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CALLSIGNDESTINATIONDIMENSION_ADIMENSION_BDIMENSION_CDIMENSION_DDRAUGHT_METRESIMO_NUMBERLENGTH_METRESNAMESHIP_TYPEWIDTH_METRES
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CraftPropertyNamevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CraftPropertyName[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DESTINATION
public static final CraftPropertyName DESTINATION
-
DIMENSION_A
public static final CraftPropertyName DIMENSION_A
-
DIMENSION_B
public static final CraftPropertyName DIMENSION_B
-
DIMENSION_C
public static final CraftPropertyName DIMENSION_C
-
DIMENSION_D
public static final CraftPropertyName DIMENSION_D
-
NAME
public static final CraftPropertyName NAME
-
IMO_NUMBER
public static final CraftPropertyName IMO_NUMBER
-
CALLSIGN
public static final CraftPropertyName CALLSIGN
-
LENGTH_METRES
public static final CraftPropertyName LENGTH_METRES
-
SHIP_TYPE
public static final CraftPropertyName SHIP_TYPE
-
WIDTH_METRES
public static final CraftPropertyName WIDTH_METRES
-
DRAUGHT_METRES
public static final CraftPropertyName DRAUGHT_METRES
-
-
Method Detail
-
values
public static CraftPropertyName[] 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 (CraftPropertyName c : CraftPropertyName.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CraftPropertyName 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
-
-