Package pt.cienciavitae.ns.common_enum
Enum CareerStageEnum
- java.lang.Object
-
- java.lang.Enum<CareerStageEnum>
-
- pt.cienciavitae.ns.common_enum.CareerStageEnum
-
- All Implemented Interfaces:
Serializable,Comparable<CareerStageEnum>
public enum CareerStageEnum extends Enum<CareerStageEnum>
Java class for career-stage-enum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="career-stage-enum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="T02V01C03"/> <enumeration value="CS_2"/> <enumeration value="CS_3"/> <enumeration value="CS_4"/> <enumeration value="CS_5"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CS_2PT: Investigador principal com habilitação ou agregação / EN:CS_3PT: Investigador auxiliar / EN:CS_4PT: Assistente de investigação / EN:CS_5PT: Estagiário de investigação / EN:T_02_V_01_C_03PT: Investigador coordenador / EN:
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CareerStageEnumfromValue(String v)Stringvalue()static CareerStageEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static CareerStageEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
T_02_V_01_C_03
public static final CareerStageEnum T_02_V_01_C_03
PT: Investigador coordenador / EN:
-
CS_2
public static final CareerStageEnum CS_2
PT: Investigador principal com habilitação ou agregação / EN:
-
CS_3
public static final CareerStageEnum CS_3
PT: Investigador auxiliar / EN:
-
CS_4
public static final CareerStageEnum CS_4
PT: Assistente de investigação / EN:
-
CS_5
public static final CareerStageEnum CS_5
PT: Estagiário de investigação / EN:
-
-
Method Detail
-
values
public static CareerStageEnum[] 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 (CareerStageEnum c : CareerStageEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CareerStageEnum valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
value
public String value()
-
fromValue
public static CareerStageEnum fromValue(String v)
-
-