Enum Class RecordType

java.lang.Object
java.lang.Enum<RecordType>
eu.dnetlib.dhp.schema.solr.RecordType
All Implemented Interfaces:
Serializable, Comparable<RecordType>, java.lang.constant.Constable

public enum RecordType extends Enum<RecordType> implements Serializable
  • Enum Constant Details

    • publication

      public static final RecordType publication
    • dataset

      public static final RecordType dataset
    • other

      public static final RecordType other
    • software

      public static final RecordType software
    • datasource

      public static final RecordType datasource
    • organization

      public static final RecordType organization
    • project

      public static final RecordType project
    • person

      public static final RecordType person
  • Method Details

    • values

      public static RecordType[] 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 RecordType 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
    • fromString

      public static RecordType fromString(String s)