com.hubject.datex.energyinfrastructure.generated.cisinformation.ServiceActionStatusEnum2 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of convert Show documentation
Show all versions of convert Show documentation
Use converters from com.hubject.datex.convert.converters package to convert from the OICP formats to DATEX II TablePublication and StatusPublication.
//
// 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.cisinformation;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for ServiceActionStatusEnum.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="ServiceActionStatusEnum">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="compliant"/>
* <enumeration value="failed"/>
* <enumeration value="notCompliant"/>
* <enumeration value="processing"/>
* <enumeration value="rejected"/>
* <enumeration value="scheduled"/>
* <enumeration value="success"/>
* <enumeration value="timedOut"/>
* <enumeration value="_extended"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "ServiceActionStatusEnum")
@XmlEnum
public enum ServiceActionStatusEnum2 {
@XmlEnumValue("compliant")
COMPLIANT("compliant"),
@XmlEnumValue("failed")
FAILED("failed"),
@XmlEnumValue("notCompliant")
NOT_COMPLIANT("notCompliant"),
@XmlEnumValue("processing")
PROCESSING("processing"),
@XmlEnumValue("rejected")
REJECTED("rejected"),
@XmlEnumValue("scheduled")
SCHEDULED("scheduled"),
@XmlEnumValue("success")
SUCCESS("success"),
@XmlEnumValue("timedOut")
TIMED_OUT("timedOut"),
@XmlEnumValue("_extended")
EXTENDED("_extended");
private final String value;
ServiceActionStatusEnum2(String v) {
value = v;
}
public String value() {
return value;
}
public static ServiceActionStatusEnum2 fromValue(String v) {
for (ServiceActionStatusEnum2 c: ServiceActionStatusEnum2 .values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}