
eu.datex2.schema._2._2_0.OperatingModeEnum Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of datex2-api Show documentation
Show all versions of datex2-api Show documentation
DATEX II API for Java, allows to create DATEX II suppliers and clients.
The newest version!
package eu.datex2.schema._2._2_0;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for OperatingModeEnum.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="OperatingModeEnum">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="operatingMode0"/>
* <enumeration value="operatingMode1"/>
* <enumeration value="operatingMode2"/>
* <enumeration value="operatingMode3"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "OperatingModeEnum")
@XmlEnum
public enum OperatingModeEnum {
@XmlEnumValue("operatingMode0")
OPERATING_MODE_0("operatingMode0"),
@XmlEnumValue("operatingMode1")
OPERATING_MODE_1("operatingMode1"),
@XmlEnumValue("operatingMode2")
OPERATING_MODE_2("operatingMode2"),
@XmlEnumValue("operatingMode3")
OPERATING_MODE_3("operatingMode3");
private final String value;
OperatingModeEnum(String v) {
value = v;
}
public String value() {
return value;
}
public static OperatingModeEnum fromValue(String v) {
for (OperatingModeEnum c: OperatingModeEnum.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy