energyml.common2_1.PermeabilityLengthUom 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 PermeabilityLengthUom.
*
*
The following schema fragment specifies the expected content contained within this class.
*
* <simpleType name="PermeabilityLengthUom">
* <restriction base="{http://www.energistics.org/energyml/data/commonv2}UomEnum">
* <enumeration value="D.ft"/>
* <enumeration value="D.m"/>
* <enumeration value="mD.ft"/>
* <enumeration value="mD.m"/>
* <enumeration value="TD[API].m"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "PermeabilityLengthUom")
@XmlEnum
public enum PermeabilityLengthUom {
/**
* darcy foot
*
*/
@XmlEnumValue("D.ft")
D_FT("D.ft"),
/**
* darcy metre
*
*/
@XmlEnumValue("D.m")
D_M("D.m"),
/**
* millidarcy foot
*
*/
@XmlEnumValue("mD.ft")
M_D_FT("mD.ft"),
/**
* millidarcy metre
*
*/
@XmlEnumValue("mD.m")
M_D_M("mD.m"),
/**
* teradarcy-API metre
*
*/
@XmlEnumValue("TD[API].m")
TD_API_M("TD[API].m");
private final String value;
PermeabilityLengthUom(String v) {
value = v;
}
public String value() {
return value;
}
public static PermeabilityLengthUom fromValue(String v) {
for (PermeabilityLengthUom c: PermeabilityLengthUom.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}