net.opengis.citygml.v_2_0.RelativeToTerrainType 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 RelativeToTerrainType.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="RelativeToTerrainType">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="entirelyAboveTerrain"/>
* <enumeration value="substantiallyAboveTerrain"/>
* <enumeration value="substantiallyAboveAndBelowTerrain"/>
* <enumeration value="substantiallyBelowTerrain"/>
* <enumeration value="entirelyBelowTerrain"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "RelativeToTerrainType")
@XmlEnum
public enum RelativeToTerrainType {
@XmlEnumValue("entirelyAboveTerrain")
ENTIRELY_ABOVE_TERRAIN("entirelyAboveTerrain"),
@XmlEnumValue("substantiallyAboveTerrain")
SUBSTANTIALLY_ABOVE_TERRAIN("substantiallyAboveTerrain"),
@XmlEnumValue("substantiallyAboveAndBelowTerrain")
SUBSTANTIALLY_ABOVE_AND_BELOW_TERRAIN("substantiallyAboveAndBelowTerrain"),
@XmlEnumValue("substantiallyBelowTerrain")
SUBSTANTIALLY_BELOW_TERRAIN("substantiallyBelowTerrain"),
@XmlEnumValue("entirelyBelowTerrain")
ENTIRELY_BELOW_TERRAIN("entirelyBelowTerrain");
private final String value;
RelativeToTerrainType(String v) {
value = v;
}
public String value() {
return value;
}
public static RelativeToTerrainType fromValue(String v) {
for (RelativeToTerrainType c: RelativeToTerrainType.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}