org.re3data.schema._2_2.SoftwareNames Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of base Show documentation
Show all versions of base Show documentation
A tool for machine actionable DMPs.
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.0
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.09.19 at 09:03:51 AM UTC
//
package org.re3data.schema._2_2;
import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for softwareNames.
*
*
The following schema fragment specifies the expected content contained within this class.
*
* <simpleType name="softwareNames">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="CKAN"/>
* <enumeration value="DataVerse"/>
* <enumeration value="DigitalCommons"/>
* <enumeration value="dLibra"/>
* <enumeration value="DSpace"/>
* <enumeration value="EPrints"/>
* <enumeration value="eSciDoc"/>
* <enumeration value="Fedora"/>
* <enumeration value="MySQL"/>
* <enumeration value="Nesstar"/>
* <enumeration value="Opus"/>
* <enumeration value="other"/>
* <enumeration value="unknown"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "softwareNames")
@XmlEnum
public enum SoftwareNames {
CKAN("CKAN"),
@XmlEnumValue("DataVerse")
DATA_VERSE("DataVerse"),
@XmlEnumValue("DigitalCommons")
DIGITAL_COMMONS("DigitalCommons"),
@XmlEnumValue("dLibra")
D_LIBRA("dLibra"),
@XmlEnumValue("DSpace")
D_SPACE("DSpace"),
@XmlEnumValue("EPrints")
E_PRINTS("EPrints"),
@XmlEnumValue("eSciDoc")
E_SCI_DOC("eSciDoc"),
@XmlEnumValue("Fedora")
FEDORA("Fedora"),
@XmlEnumValue("MySQL")
MY_SQL("MySQL"),
@XmlEnumValue("Nesstar")
NESSTAR("Nesstar"),
@XmlEnumValue("Opus")
OPUS("Opus"),
@XmlEnumValue("other")
OTHER("other"),
@XmlEnumValue("unknown")
UNKNOWN("unknown");
private final String value;
SoftwareNames(String v) {
value = v;
}
public String value() {
return value;
}
public static SoftwareNames fromValue(String v) {
for (SoftwareNames c: SoftwareNames.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}