com.hubject.datex.energyinfrastructure.generated.exchangeinformation.UpdateMethodEnum2 Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.1
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2022.10.06 at 11:44:34 AM CEST
//
package com.hubject.datex.energyinfrastructure.generated.exchangeinformation;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for UpdateMethodEnum.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="UpdateMethodEnum">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="allElementUpdate"/>
* <enumeration value="allInformationUpdate"/>
* <enumeration value="other"/>
* <enumeration value="singleElementUpdate"/>
* <enumeration value="snapshot"/>
* <enumeration value="_extended"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "UpdateMethodEnum")
@XmlEnum
public enum UpdateMethodEnum2 {
@XmlEnumValue("allElementUpdate")
ALL_ELEMENT_UPDATE("allElementUpdate"),
@XmlEnumValue("allInformationUpdate")
ALL_INFORMATION_UPDATE("allInformationUpdate"),
@XmlEnumValue("other")
OTHER("other"),
@XmlEnumValue("singleElementUpdate")
SINGLE_ELEMENT_UPDATE("singleElementUpdate"),
@XmlEnumValue("snapshot")
SNAPSHOT("snapshot"),
@XmlEnumValue("_extended")
EXTENDED("_extended");
private final String value;
UpdateMethodEnum2(String v) {
value = v;
}
public String value() {
return value;
}
public static UpdateMethodEnum2 fromValue(String v) {
for (UpdateMethodEnum2 c: UpdateMethodEnum2 .values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}