![JAR search and dependency download from the Maven repository](/logo.png)
org.re3data.schema._2_2.PidSystems Maven / Gradle / Ivy
//
// 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 pidSystems.
*
*
The following schema fragment specifies the expected content contained within this class.
*
* <simpleType name="pidSystems">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="ARK"/>
* <enumeration value="DOI"/>
* <enumeration value="hdl"/>
* <enumeration value="PURL"/>
* <enumeration value="URN"/>
* <enumeration value="other"/>
* <enumeration value="none"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "pidSystems")
@XmlEnum
public enum PidSystems {
ARK("ARK"),
DOI("DOI"),
@XmlEnumValue("hdl")
HDL("hdl"),
PURL("PURL"),
URN("URN"),
@XmlEnumValue("other")
OTHER("other"),
@XmlEnumValue("none")
NONE("none");
private final String value;
PidSystems(String v) {
value = v;
}
public String value() {
return value;
}
public static PidSystems fromValue(String v) {
for (PidSystems c: PidSystems.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy