energyml.common2_1.ThermodynamicTemperaturePerThermodynamicTemperatureUom 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 ThermodynamicTemperaturePerThermodynamicTemperatureUom.
*
*
The following schema fragment specifies the expected content contained within this class.
*
* <simpleType name="ThermodynamicTemperaturePerThermodynamicTemperatureUom">
* <restriction base="{http://www.energistics.org/energyml/data/commonv2}UomEnum">
* <enumeration value="degC/degC"/>
* <enumeration value="degF/degF"/>
* <enumeration value="degR/degR"/>
* <enumeration value="Euc"/>
* <enumeration value="K/K"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "ThermodynamicTemperaturePerThermodynamicTemperatureUom")
@XmlEnum
public enum ThermodynamicTemperaturePerThermodynamicTemperatureUom {
/**
* degree Celsius per degree Celsius
*
*/
@XmlEnumValue("degC/degC")
DEG_C_DEG_C("degC/degC"),
/**
* degree Fahrenheit per degree Fahrenheit
*
*/
@XmlEnumValue("degF/degF")
DEG_F_DEG_F("degF/degF"),
/**
* degree Rankine per degree Rankine
*
*/
@XmlEnumValue("degR/degR")
DEG_R_DEG_R("degR/degR"),
/**
* euclid
*
*/
@XmlEnumValue("Euc")
EUC("Euc"),
/**
* kelvin per kelvin
*
*/
@XmlEnumValue("K/K")
K_K("K/K");
private final String value;
ThermodynamicTemperaturePerThermodynamicTemperatureUom(String v) {
value = v;
}
public String value() {
return value;
}
public static ThermodynamicTemperaturePerThermodynamicTemperatureUom fromValue(String v) {
for (ThermodynamicTemperaturePerThermodynamicTemperatureUom c: ThermodynamicTemperaturePerThermodynamicTemperatureUom.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}