public enum VesselTypeId extends Enum<VesselTypeId> implements Serializable
| Enum Constant and Description |
|---|
FISHING_VESSEL
Navire de pêche professionnel (industriel,semi industriel,grande
pêche)
|
FISHING_VESSEL_GROUP
Regroupement de navires.
|
PLEASURE_BOAT
Navire de plaisance
|
SCIENTIFIC_RESEARCH_VESSEL
Navire scientifique (campagne)
|
SHELLFISH_GATHERER
Pêcheur à pied
|
| Modifier and Type | Method and Description |
|---|---|
static VesselTypeId |
fromInteger(Integer value)
Creates an instance of VesselTypeId from
value. |
String |
getName()
Gets the underlying name of this type safe enumeration.
|
Integer |
getValue()
Gets the underlying value of this type safe enumeration.
|
boolean |
hasInitError() |
static List<Integer> |
literals()
Returns an unmodifiable list containing the literals that are known by this enumeration.
|
static List<String> |
names()
Returns an unmodifiable list containing the names of the literals that are known
by this enumeration.
|
String |
toString() |
static VesselTypeId |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VesselTypeId[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VesselTypeId FISHING_VESSEL
Navire de pêche professionnel (industriel,semi industriel,grande pêche)
public static final VesselTypeId SCIENTIFIC_RESEARCH_VESSEL
Navire scientifique (campagne)
public static final VesselTypeId FISHING_VESSEL_GROUP
Regroupement de navires.
public static final VesselTypeId PLEASURE_BOAT
Navire de plaisance
public static final VesselTypeId SHELLFISH_GATHERER
Pêcheur à pied
public static VesselTypeId[] values()
for (VesselTypeId c : VesselTypeId.values()) System.out.println(c);
public static VesselTypeId 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 boolean hasInitError()
public String toString()
toString in class Enum<VesselTypeId>Object.toString()public static VesselTypeId fromInteger(Integer value)
value.value - the value to create the VesselTypeId from.public Integer getValue()
public String getName()
public static List<Integer> literals()
Copyright © 2013. All Rights Reserved.