com.hubject.datex.energyinfrastructure.generated.common.DirectionCompassEnum2 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.common;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for DirectionCompassEnum.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="DirectionCompassEnum">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="east"/>
* <enumeration value="eastNorthEast"/>
* <enumeration value="eastSouthEast"/>
* <enumeration value="north"/>
* <enumeration value="northEast"/>
* <enumeration value="northNorthEast"/>
* <enumeration value="northNorthWest"/>
* <enumeration value="northWest"/>
* <enumeration value="south"/>
* <enumeration value="southEast"/>
* <enumeration value="southSouthEast"/>
* <enumeration value="southSouthWest"/>
* <enumeration value="southWest"/>
* <enumeration value="west"/>
* <enumeration value="westNorthWest"/>
* <enumeration value="westSouthWest"/>
* <enumeration value="_extended"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "DirectionCompassEnum")
@XmlEnum
public enum DirectionCompassEnum2 {
@XmlEnumValue("east")
EAST("east"),
@XmlEnumValue("eastNorthEast")
EAST_NORTH_EAST("eastNorthEast"),
@XmlEnumValue("eastSouthEast")
EAST_SOUTH_EAST("eastSouthEast"),
@XmlEnumValue("north")
NORTH("north"),
@XmlEnumValue("northEast")
NORTH_EAST("northEast"),
@XmlEnumValue("northNorthEast")
NORTH_NORTH_EAST("northNorthEast"),
@XmlEnumValue("northNorthWest")
NORTH_NORTH_WEST("northNorthWest"),
@XmlEnumValue("northWest")
NORTH_WEST("northWest"),
@XmlEnumValue("south")
SOUTH("south"),
@XmlEnumValue("southEast")
SOUTH_EAST("southEast"),
@XmlEnumValue("southSouthEast")
SOUTH_SOUTH_EAST("southSouthEast"),
@XmlEnumValue("southSouthWest")
SOUTH_SOUTH_WEST("southSouthWest"),
@XmlEnumValue("southWest")
SOUTH_WEST("southWest"),
@XmlEnumValue("west")
WEST("west"),
@XmlEnumValue("westNorthWest")
WEST_NORTH_WEST("westNorthWest"),
@XmlEnumValue("westSouthWest")
WEST_SOUTH_WEST("westSouthWest"),
@XmlEnumValue("_extended")
EXTENDED("_extended");
private final String value;
DirectionCompassEnum2(String v) {
value = v;
}
public String value() {
return value;
}
public static DirectionCompassEnum2 fromValue(String v) {
for (DirectionCompassEnum2 c: DirectionCompassEnum2 .values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}