Package pt.cienciavitae.ns.common_enum
Enum ServiceAdministrativeRoleEnum
- java.lang.Object
-
- java.lang.Enum<ServiceAdministrativeRoleEnum>
-
- pt.cienciavitae.ns.common_enum.ServiceAdministrativeRoleEnum
-
- All Implemented Interfaces:
Serializable,Comparable<ServiceAdministrativeRoleEnum>
public enum ServiceAdministrativeRoleEnum extends Enum<ServiceAdministrativeRoleEnum>
Java class for service-administrative-role-enum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="service-administrative-role-enum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="CO"/> <enumeration value="MCC"/> <enumeration value="MCO"/> <enumeration value="OTR"/> <enumeration value="PCO"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COPT: Coorganizador / EN: Co-organisorMCCPT: Membro da Comissão Científica / EN: Member of the Scientific CommitteeMCOPT: Membro da Comissão Organizadora / EN: Member of the Organising CommitteeOTRPT: Outra / EN: OtherPCOPT: Presidente da Comissão Organizadora / EN: President of the Organizing Committee
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServiceAdministrativeRoleEnumfromValue(String v)Stringvalue()static ServiceAdministrativeRoleEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static ServiceAdministrativeRoleEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CO
public static final ServiceAdministrativeRoleEnum CO
PT: Coorganizador / EN: Co-organisor
-
MCC
public static final ServiceAdministrativeRoleEnum MCC
PT: Membro da Comissão Científica / EN: Member of the Scientific Committee
-
MCO
public static final ServiceAdministrativeRoleEnum MCO
PT: Membro da Comissão Organizadora / EN: Member of the Organising Committee
-
OTR
public static final ServiceAdministrativeRoleEnum OTR
PT: Outra / EN: Other
-
PCO
public static final ServiceAdministrativeRoleEnum PCO
PT: Presidente da Comissão Organizadora / EN: President of the Organizing Committee
-
-
Method Detail
-
values
public static ServiceAdministrativeRoleEnum[] 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 (ServiceAdministrativeRoleEnum c : ServiceAdministrativeRoleEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ServiceAdministrativeRoleEnum 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 ServiceAdministrativeRoleEnum fromValue(String v)
-
-