energyml.common2_1.AngularAccelerationUom 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 AngularAccelerationUom.
*
*
The following schema fragment specifies the expected content contained within this class.
*
* <simpleType name="AngularAccelerationUom">
* <restriction base="{http://www.energistics.org/energyml/data/commonv2}UomEnum">
* <enumeration value="rad/s2"/>
* <enumeration value="rpm/s"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "AngularAccelerationUom")
@XmlEnum
public enum AngularAccelerationUom {
/**
* radian per second squared
*
*/
@XmlEnumValue("rad/s2")
RAD_S_2("rad/s2"),
/**
* (revolution per minute) per second
*
*/
@XmlEnumValue("rpm/s")
RPM_S("rpm/s");
private final String value;
AngularAccelerationUom(String v) {
value = v;
}
public String value() {
return value;
}
public static AngularAccelerationUom fromValue(String v) {
for (AngularAccelerationUom c: AngularAccelerationUom.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}