Enum RoleType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<RoleType>

    public enum RoleType
    extends java.lang.Enum<RoleType>
    • Enum Constant Detail

      • RESOURCE_PROVIDER

        @SerializedName("resourceProvider")
        public static final RoleType RESOURCE_PROVIDER
      • CUSTODIAN

        @SerializedName("custodian")
        public static final RoleType CUSTODIAN
      • OWNER

        @SerializedName("owner")
        public static final RoleType OWNER
      • USER

        @SerializedName("user")
        public static final RoleType USER
      • DISTRIBUTOR

        @SerializedName("distributor")
        public static final RoleType DISTRIBUTOR
      • ORIGINATOR

        @SerializedName("originator")
        public static final RoleType ORIGINATOR
      • POINT_OF_CONTACT

        @SerializedName("pointOfContact")
        public static final RoleType POINT_OF_CONTACT
      • PRINCIPAL_INVESTIGATOR

        @SerializedName("principalInvestigator")
        public static final RoleType PRINCIPAL_INVESTIGATOR
      • PROCESSOR

        @SerializedName("processor")
        public static final RoleType PROCESSOR
      • PUBLISHER

        @SerializedName("publisher")
        public static final RoleType PUBLISHER
      • AUTHOR

        @SerializedName("author")
        public static final RoleType AUTHOR
      • SPONSOR

        @SerializedName("sponsor")
        public static final RoleType SPONSOR
      • CO_AUTHOR

        @SerializedName("co-author")
        public static final RoleType CO_AUTHOR
      • COLLABORATOR

        @SerializedName("collaborator")
        public static final RoleType COLLABORATOR
      • EDITOR

        @SerializedName("editor")
        public static final RoleType EDITOR
      • MEDIATOR

        @SerializedName("mediator")
        public static final RoleType MEDIATOR
      • RIGHTS_HOLDER

        @SerializedName("rightsHolder")
        public static final RoleType RIGHTS_HOLDER
      • CONTRIBUTOR

        @SerializedName("contributor")
        public static final RoleType CONTRIBUTOR
      • FUNDER

        @SerializedName("funder")
        public static final RoleType FUNDER
      • STAKEHOLDER

        @SerializedName("stakeholder")
        public static final RoleType STAKEHOLDER
    • Method Detail

      • values

        public static RoleType[] 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 (RoleType c : RoleType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static RoleType valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getValue

        public java.lang.String getValue()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Enum<RoleType>
      • fromValue

        public static RoleType fromValue​(java.lang.String value)