no.difi.begrep.sdp.utvidelser.arrangement.SDPStrekkodetype Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2021.12.01 at 12:54:39 PM UTC
//
package no.difi.begrep.sdp.utvidelser.arrangement;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for Strekkodetype.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="Strekkodetype">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="code-128"/>
* <enumeration value="code-39"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "Strekkodetype")
@XmlEnum
public enum SDPStrekkodetype {
@XmlEnumValue("code-128")
CODE_128("code-128"),
@XmlEnumValue("code-39")
CODE_39("code-39");
private final String value;
SDPStrekkodetype(String v) {
value = v;
}
public String value() {
return value;
}
public static SDPStrekkodetype fromValue(String v) {
for (SDPStrekkodetype c: SDPStrekkodetype.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}