com.hashmapinc.tempus.WitsmlObjects.v1311.WellDirection 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.v1311;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for WellDirection.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
{@code
*
*
*
*
*
*
*
*
*
* }
*
*/
@XmlType(name = "WellDirection")
@XmlEnum
public enum WellDirection {
/**
* The well facility alternately injects (usually
* a steam or hot fluid) and produces.
*
*/
@XmlEnumValue("huff-n-puff")
HUFF_N_PUFF("huff-n-puff"),
/**
* The well facility is injecting fluids into the
* subsurface.
*
*/
@XmlEnumValue("injector")
INJECTOR("injector"),
/**
* The well facility is producing fluids from the
* subsurface.
*
*/
@XmlEnumValue("producer")
PRODUCER("producer"),
/**
* The flow direction of the fluids is variable,
* but not on a regular basis as is the case with the huff-n-puff
* flow.
*
*/
@XmlEnumValue("uncertain")
UNCERTAIN("uncertain"),
/**
* The value is not known. This value should not be used
* in normal situations. All reasonable attempts should be made to determine
* the appropriate value. Use of this value may result in rejection in some situations.
*
*/
@XmlEnumValue("unknown")
UNKNOWN("unknown");
private final String value;
WellDirection(String v) {
value = v;
}
public String value() {
return value;
}
public static WellDirection fromValue(String v) {
for (WellDirection c: WellDirection.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy