Enum DataciteConvert.StyleEnum

java.lang.Object
java.lang.Enum<DataciteConvert.StyleEnum>
org.cdlib.mrt.core.DataciteConvert.StyleEnum
All Implemented Interfaces:
Serializable, Comparable<DataciteConvert.StyleEnum>
Enclosing class:
DataciteConvert

public static enum DataciteConvert.StyleEnum extends Enum<DataciteConvert.StyleEnum>
  • Enum Constant Details

  • Field Details

    • ns

      protected String ns
    • schema

      protected String schema
    • resourceName

      protected String resourceName
    • version

      protected String version
  • Method Details

    • values

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

      public static DataciteConvert.StyleEnum 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 name
      NullPointerException - if the argument is null
    • getNS

      public String getNS()
      Return the storage ns
      Returns:
      storage ns
    • getSchema

      public String getSchema()
      Return DataCite schema
      Returns:
      DataCite schema
    • getResourceName

      public String getResourceName()
      return the description of the storage
      Returns:
      storage description
    • getVersion

      public String getVersion()
      return DataCite version
      Returns:
      DataCite version
    • matchValue

      public static DataciteConvert.StyleEnum matchValue(String value)
      Match the Storage ns to ns and description
      Parameters:
      ns - storage ns
      resourceName - storage description
      Returns:
      StyleEnum