com.hashmapinc.tempus.WitsmlObjects.v20.ChannelStatus 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 ChannelStatus.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
*
*
*
*
*
*
*
*
*
*/
@XmlType(name = "ChannelStatus", namespace = "http://www.energistics.org/energyml/data/witsmlv2")
@XmlEnum
public enum ChannelStatus {
/**
* Actively producing data points.
*
*/
@XmlEnumValue("active")
ACTIVE("active"),
/**
* Closed and will never produce new data points.
*
*/
@XmlEnumValue("closed")
CLOSED("closed"),
/**
* Currently inactive but may produce data points in the future.
*
*/
@XmlEnumValue("inactive")
INACTIVE("inactive");
private final String value;
ChannelStatus(String v) {
value = v;
}
public String value() {
return value;
}
public static ChannelStatus fromValue(String v) {
for (ChannelStatus c: ChannelStatus.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy