it.bz.opendatahub.alpinebits.xml.schema.ota.PkgPersonalInsuranceCode Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2020.10.22 at 07:23:30 PM GMT
//
package it.bz.opendatahub.alpinebits.xml.schema.ota;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for PkgPersonalInsuranceCode.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="PkgPersonalInsuranceCode">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="Ski"/>
* <enumeration value="Worldwide"/>
* <enumeration value="Europe"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "PkgPersonalInsuranceCode")
@XmlEnum
public enum PkgPersonalInsuranceCode {
@XmlEnumValue("Ski")
SKI("Ski"),
@XmlEnumValue("Worldwide")
WORLDWIDE("Worldwide"),
@XmlEnumValue("Europe")
EUROPE("Europe");
private final String value;
PkgPersonalInsuranceCode(String v) {
value = v;
}
public String value() {
return value;
}
public static PkgPersonalInsuranceCode fromValue(String v) {
for (PkgPersonalInsuranceCode c: PkgPersonalInsuranceCode.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}