Enum ResponsiblePartyRole
- java.lang.Object
-
- java.lang.Enum<ResponsiblePartyRole>
-
- org.gcube.spatial.data.geonetwork.iso.tpl.codelists.ResponsiblePartyRole
-
- All Implemented Interfaces:
Serializable,Comparable<ResponsiblePartyRole>
public enum ResponsiblePartyRole extends Enum<ResponsiblePartyRole>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTHORCUSTODIANDISTRIBUTORORIGINATOROWNERPOINT_OF_CONTACTPRINCIPAL_INVESTIGATORPROCESSORPUBLISHERRESOURCE_PROVIDERUSER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResponsiblePartyRolegetById(String id)static ResponsiblePartyRolevalueOf(String name)Returns the enum constant of this type with the specified name.static ResponsiblePartyRole[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RESOURCE_PROVIDER
public static final ResponsiblePartyRole RESOURCE_PROVIDER
-
CUSTODIAN
public static final ResponsiblePartyRole CUSTODIAN
-
OWNER
public static final ResponsiblePartyRole OWNER
-
USER
public static final ResponsiblePartyRole USER
-
DISTRIBUTOR
public static final ResponsiblePartyRole DISTRIBUTOR
-
ORIGINATOR
public static final ResponsiblePartyRole ORIGINATOR
-
POINT_OF_CONTACT
public static final ResponsiblePartyRole POINT_OF_CONTACT
-
PRINCIPAL_INVESTIGATOR
public static final ResponsiblePartyRole PRINCIPAL_INVESTIGATOR
-
PROCESSOR
public static final ResponsiblePartyRole PROCESSOR
-
PUBLISHER
public static final ResponsiblePartyRole PUBLISHER
-
AUTHOR
public static final ResponsiblePartyRole AUTHOR
-
-
Method Detail
-
values
public static ResponsiblePartyRole[] 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 (ResponsiblePartyRole c : ResponsiblePartyRole.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResponsiblePartyRole 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
-
getById
public static ResponsiblePartyRole getById(String id)
-
-