energyml.common2_1.TemperatureIntervalUom Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of energyml-prodml20 Show documentation
Show all versions of energyml-prodml20 Show documentation
API to interract with energyml (resqml, witml, prodml)
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.0
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2022.10.13 at 08:02:05 PM UTC
//
package energyml.common2_1;
import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for TemperatureIntervalUom.
*
*
The following schema fragment specifies the expected content contained within this class.
*
* <simpleType name="TemperatureIntervalUom">
* <restriction base="{http://www.energistics.org/energyml/data/commonv2}UomEnum">
* <enumeration value="deltaC"/>
* <enumeration value="deltaF"/>
* <enumeration value="deltaK"/>
* <enumeration value="deltaR"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "TemperatureIntervalUom")
@XmlEnum
public enum TemperatureIntervalUom {
/**
* delta Celsius
*
*/
@XmlEnumValue("deltaC")
DELTA_C("deltaC"),
/**
* delta Fahrenheit
*
*/
@XmlEnumValue("deltaF")
DELTA_F("deltaF"),
/**
* delta kelvin
*
*/
@XmlEnumValue("deltaK")
DELTA_K("deltaK"),
/**
* delta Rankine
*
*/
@XmlEnumValue("deltaR")
DELTA_R("deltaR");
private final String value;
TemperatureIntervalUom(String v) {
value = v;
}
public String value() {
return value;
}
public static TemperatureIntervalUom fromValue(String v) {
for (TemperatureIntervalUom c: TemperatureIntervalUom.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}