public enum ProgramCode extends Enum<ProgramCode> implements Serializable, AdagioEnumerationDef<String>
Enum Constant and Description |
---|
ACTIVITY
TODO: Model Documentation for Enumeration Literal ACTIVITY value "SIH-ACTIFLOT"
|
ACTIVITY_MERGE
TODO: Model Documentation for Enumeration Literal ACTIVITY_MERGE value "SIH-ACTIFLOT-CONFLIT"
|
DECLARATIVE_FLOW
TODO: Model Documentation for Enumeration Literal DECLARATIVE_FLOW value "SIH-ACTIPRED"
|
PRE_RECOPESCA
TODO: Model Documentation for Enumeration Literal PRE_RECOPESCA value "SIH-preRECOPESCA"
|
RECOPESCA
TODO: Model Documentation for Enumeration Literal RECOPESCA value "SIH-RECOPESCA"
|
SCIENTIFIC_CRUISE_PREFIX
TODO: Model Documentation for Enumeration Literal SCIENTIFIC_CRUISE_PREFIX value "CAM-"
|
SIH
TODO: Model Documentation for Enumeration Literal SIH value "SIH"
|
SIH_OBSERVED_FISHING_TRIP_ON_BOARD
TODO: Model Documentation for Enumeration Literal SIH_OBSERVED_FISHING_TRIP_ON_BOARD value "SIH-OBSMER"
|
SIH_OBSERVED_SALE
TODO: Model Documentation for Enumeration Literal SIH_OBSERVED_SALE value "SIH-OBSVENTE"
|
SIH_OBSMER
TODO: Model Documentation for Enumeration Literal SIH_OBSMER value "SIH-OBSMER"
|
SIH_OBSVENTE
TODO: Model Documentation for Enumeration Literal SIH_OBSVENTE value "SIH-OBSVENTE"
|
SIH_STATPECHE_CONFLIT
TODO: Model Documentation for Enumeration Literal SIH_STATPECHE_CONFLIT value "SIH-ACTIFLOT-CONFLIT"
|
STAT_PECHE
TODO: Model Documentation for Enumeration Literal STAT_PECHE value "SIH-ACTIFLOT"
|
CONFIG_OPTION_PREFIX
Modifier and Type | Method and Description |
---|---|
static ProgramCode |
fromString(String name)
Retrieves an instance of ProgramCode from
its name . |
static ProgramCode |
fromValue(String value)
Returns an instance of ProgramCode from String
value . |
String |
getDescription() |
String |
getKey() |
Class<?> |
getType() |
String |
getValue()
Gets the underlying value of this type safe enumeration.
|
String |
getValueAsString() |
static List<String> |
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.
|
void |
setValue(String newValue) |
String |
value()
Returns an enumeration literal String
value . |
static ProgramCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProgramCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProgramCode PRE_RECOPESCA
public static final ProgramCode STAT_PECHE
public static final ProgramCode RECOPESCA
public static final ProgramCode DECLARATIVE_FLOW
public static final ProgramCode SIH_STATPECHE_CONFLIT
public static final ProgramCode ACTIVITY_MERGE
public static final ProgramCode ACTIVITY
public static final ProgramCode SIH_OBSERVED_FISHING_TRIP_ON_BOARD
public static final ProgramCode SIH_OBSMER
public static final ProgramCode SIH_OBSVENTE
public static final ProgramCode SIH_OBSERVED_SALE
public static final ProgramCode SIH
public static final ProgramCode SCIENTIFIC_CRUISE_PREFIX
public static ProgramCode[] values()
for (ProgramCode c : ProgramCode.values()) System.out.println(c);
public static ProgramCode 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 void setValue(String newValue)
setValue
in interface AdagioEnumerationDef<String>
public String getValueAsString()
getValueAsString
in interface AdagioEnumerationDef<String>
public static ProgramCode fromString(String name)
its name
.name
- the name to create the ProgramCode from.public String value()
value
.
Required by JAXB2 enumeration implementationpublic static ProgramCode fromValue(String value)
value
.
Required by JAXB2 enumeration implementationvalue
- the value to create the ProgramCode from.public String getValue()
getValue
in interface AdagioEnumerationDef<String>
public String getDescription()
getDescription
in interface AdagioEnumerationDef<String>
public String getKey()
getKey
in interface AdagioEnumerationDef<String>
public Class<?> getType()
getType
in interface AdagioEnumerationDef<String>
public static List<String> literals()
Copyright © 2012–2014 IFREMER. All rights reserved.