com.hashmapinc.tempus.WitsmlObjects.v20.LengthPerVolumeUom Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of WitsmlObjects Show documentation
Show all versions of WitsmlObjects Show documentation
This library assists in serializing and deserializing WITSML 1.3.1.1 and 1.4.1.1 Objects
package com.hashmapinc.tempus.WitsmlObjects.v20;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for LengthPerVolumeUom.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
@XmlType(name = "LengthPerVolumeUom")
@XmlEnum
public enum LengthPerVolumeUom {
/**
* foot per barrel
*
*/
@XmlEnumValue("ft/bbl")
FT_BBL("ft/bbl"),
/**
* foot per cubic foot
*
*/
@XmlEnumValue("ft/ft3")
FT_FT_3("ft/ft3"),
/**
* foot per US gallon
*
*/
@XmlEnumValue("ft/gal[US]")
FT_GAL_US("ft/gal[US]"),
/**
* kilometre per cubic decimetre
*
*/
@XmlEnumValue("km/dm3")
KM_DM_3("km/dm3"),
/**
* kilometre per litre
*
*/
@XmlEnumValue("km/L")
KM_L("km/L"),
/**
* metre per cubic metre
*
*/
@XmlEnumValue("m/m3")
M_M_3("m/m3"),
/**
* mile per UK gallon
*
*/
@XmlEnumValue("mi/gal[UK]")
MI_GAL_UK("mi/gal[UK]"),
/**
* mile per US gallon
*
*/
@XmlEnumValue("mi/gal[US]")
MI_GAL_US("mi/gal[US]");
private final String value;
LengthPerVolumeUom(String v) {
value = v;
}
public String value() {
return value;
}
public static LengthPerVolumeUom fromValue(String v) {
for (LengthPerVolumeUom c: LengthPerVolumeUom.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy