Package pt.cienciavitae.ns.common_enum
Enum InstitutionSectorEnum
- java.lang.Object
-
- java.lang.Enum<InstitutionSectorEnum>
-
- pt.cienciavitae.ns.common_enum.InstitutionSectorEnum
-
- All Implemented Interfaces:
Serializable,Comparable<InstitutionSectorEnum>
public enum InstitutionSectorEnum extends Enum<InstitutionSectorEnum>
Java class for institution-sector-enum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="institution-sector-enum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="S01"/> <enumeration value="S02"/> <enumeration value="S03"/> <enumeration value="S04"/> <enumeration value="S05"/> <enumeration value="S00"/> </restriction> </simpleType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InstitutionSectorEnumfromValue(String v)Stringvalue()static InstitutionSectorEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static InstitutionSectorEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
S_01
public static final InstitutionSectorEnum S_01
PT: Ensino / EN: Academic
-
S_02
public static final InstitutionSectorEnum S_02
PT: Empresas / EN: Companies
-
S_03
public static final InstitutionSectorEnum S_03
PT: Saúde / EN: Health
-
S_04
public static final InstitutionSectorEnum S_04
PT: Instituições de I&D / EN: R&D Institutions
-
S_05
public static final InstitutionSectorEnum S_05
PT: Administração pública / EN: Government
-
S_00
public static final InstitutionSectorEnum S_00
PT: Outro / EN: Other
-
-
Method Detail
-
values
public static InstitutionSectorEnum[] 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 (InstitutionSectorEnum c : InstitutionSectorEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InstitutionSectorEnum 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 InstitutionSectorEnum fromValue(String v)
-
-