Package org.cdlib.mrt.core
Enum Class DataciteConvert.StyleEnum
- All Implemented Interfaces:
Serializable
,Comparable<DataciteConvert.StyleEnum>
,Constable
- Enclosing class:
DataciteConvert
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetNS()
Return the storage nsreturn the description of the storageReturn DataCite schemareturn DataCite versionstatic DataciteConvert.StyleEnum
matchValue
(String value) Match the Storage ns to ns and descriptionstatic DataciteConvert.StyleEnum
Returns the enum constant of this class with the specified name.static DataciteConvert.StyleEnum[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
kernel2_1
-
kernel2_2
-
kernel2_3
-
kernel3_1
-
kernel3
-
-
Field Details
-
ns
-
schema
-
resourceName
-
version
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getNS
Return the storage ns- Returns:
- storage ns
-
getSchema
Return DataCite schema- Returns:
- DataCite schema
-
getResourceName
return the description of the storage- Returns:
- storage description
-
getVersion
return DataCite version- Returns:
- DataCite version
-
matchValue
Match the Storage ns to ns and description- Parameters:
ns
- storage nsresourceName
- storage description- Returns:
- StyleEnum
-