com.hashmapinc.tempus.WitsmlObjects.v20.ParameterKind 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 ParameterKind.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
@XmlType(name = "ParameterKind")
@XmlEnum
public enum ParameterKind {
@XmlEnumValue("dataObject")
DATA_OBJECT("dataObject"),
@XmlEnumValue("double")
DOUBLE("double"),
@XmlEnumValue("integer")
INTEGER("integer"),
@XmlEnumValue("string")
STRING("string"),
@XmlEnumValue("timestamp")
TIMESTAMP("timestamp"),
@XmlEnumValue("subActivity")
SUB_ACTIVITY("subActivity");
private final String value;
ParameterKind(String v) {
value = v;
}
public String value() {
return value;
}
public static ParameterKind fromValue(String v) {
for (ParameterKind c: ParameterKind.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy