com.hashmapinc.tempus.WitsmlObjects.v1311.BhaStatus 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 BhaStatus.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
{@code
*
*
*
*
*
*
*
*
* }
*
*/
@XmlType(name = "BhaStatus")
@XmlEnum
public enum BhaStatus {
@XmlEnumValue("final")
FINAL("final"),
@XmlEnumValue("progress")
PROGRESS("progress"),
@XmlEnumValue("plan")
PLAN("plan"),
/**
* 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;
BhaStatus(String v) {
value = v;
}
public String value() {
return value;
}
public static BhaStatus fromValue(String v) {
for (BhaStatus c: BhaStatus.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}