Enum Contributor.Type
- java.lang.Object
-
- java.lang.Enum<Contributor.Type>
-
- org.gcube.data.publishing.ckan2zenodo.model.zenodo.Contributor.Type
-
- All Implemented Interfaces:
Serializable,Comparable<Contributor.Type>
- Enclosing class:
- Contributor
public static enum Contributor.Type extends Enum<Contributor.Type>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Contributor.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static Contributor.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ContactPerson
public static final Contributor.Type ContactPerson
-
DataCollector
public static final Contributor.Type DataCollector
-
DataCurator
public static final Contributor.Type DataCurator
-
DataManager
public static final Contributor.Type DataManager
-
Distributor
public static final Contributor.Type Distributor
-
Editor
public static final Contributor.Type Editor
-
Funder
public static final Contributor.Type Funder
-
HostingInstitution
public static final Contributor.Type HostingInstitution
-
Producer
public static final Contributor.Type Producer
-
ProjectLeader
public static final Contributor.Type ProjectLeader
-
ProjectManager
public static final Contributor.Type ProjectManager
-
ProjectMember
public static final Contributor.Type ProjectMember
-
RegistrationAgency
public static final Contributor.Type RegistrationAgency
-
RegistrationAuthority
public static final Contributor.Type RegistrationAuthority
-
RelatedPerson
public static final Contributor.Type RelatedPerson
-
Researcher
public static final Contributor.Type Researcher
-
ResearchGroup
public static final Contributor.Type ResearchGroup
-
RightsHolder
public static final Contributor.Type RightsHolder
-
Supervisor
public static final Contributor.Type Supervisor
-
Sponsor
public static final Contributor.Type Sponsor
-
WorkPackageLeader
public static final Contributor.Type WorkPackageLeader
-
Other
public static final Contributor.Type Other
-
-
Method Detail
-
values
public static Contributor.Type[] 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 (Contributor.Type c : Contributor.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Contributor.Type 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
-
-