Enum Class WorkCategory

java.lang.Object
java.lang.Enum<WorkCategory>
org.orcid.jaxb.model.record_v2.WorkCategory
All Implemented Interfaces:
Serializable, Comparable<WorkCategory>, Constable

public enum WorkCategory extends Enum<WorkCategory>
  • Enum Constant Details

    • PUBLICATION

      public static final WorkCategory PUBLICATION
    • CONFERENCE

      public static final WorkCategory CONFERENCE
    • INTELLECTUAL_PROPERTY

      public static final WorkCategory INTELLECTUAL_PROPERTY
    • OTHER_OUTPUT

      public static final WorkCategory OTHER_OUTPUT
  • Method Details

    • values

      public static WorkCategory[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static WorkCategory valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • value

      public String value()
    • jsonValue

      public String jsonValue()
    • getSubTypes

      public List<WorkType> getSubTypes()
    • fromValue

      public static WorkCategory fromValue(String v)
    • fromWorkType

      public static WorkCategory fromWorkType(WorkType type)