net.opengis.citygml.v_2_0.RelativeToWaterType 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: 2016.02.26 at 04:41:00 PM AST
//
package net.opengis.citygml.v_2_0;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for RelativeToWaterType.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="RelativeToWaterType">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="entirelyAboveWaterSurface"/>
* <enumeration value="substantiallyAboveWaterSurface"/>
* <enumeration value="substantiallyAboveAndBelowWaterSurface"/>
* <enumeration value="substantiallyBelowWaterSurface"/>
* <enumeration value="entirelyBelowWaterSurface"/>
* <enumeration value="temporarilyAboveAndBelowWaterSurface"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "RelativeToWaterType")
@XmlEnum
public enum RelativeToWaterType {
@XmlEnumValue("entirelyAboveWaterSurface")
ENTIRELY_ABOVE_WATER_SURFACE("entirelyAboveWaterSurface"),
@XmlEnumValue("substantiallyAboveWaterSurface")
SUBSTANTIALLY_ABOVE_WATER_SURFACE("substantiallyAboveWaterSurface"),
@XmlEnumValue("substantiallyAboveAndBelowWaterSurface")
SUBSTANTIALLY_ABOVE_AND_BELOW_WATER_SURFACE("substantiallyAboveAndBelowWaterSurface"),
@XmlEnumValue("substantiallyBelowWaterSurface")
SUBSTANTIALLY_BELOW_WATER_SURFACE("substantiallyBelowWaterSurface"),
@XmlEnumValue("entirelyBelowWaterSurface")
ENTIRELY_BELOW_WATER_SURFACE("entirelyBelowWaterSurface"),
@XmlEnumValue("temporarilyAboveAndBelowWaterSurface")
TEMPORARILY_ABOVE_AND_BELOW_WATER_SURFACE("temporarilyAboveAndBelowWaterSurface");
private final String value;
RelativeToWaterType(String v) {
value = v;
}
public String value() {
return value;
}
public static RelativeToWaterType fromValue(String v) {
for (RelativeToWaterType c: RelativeToWaterType.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}