energyml.prodml2_0.DasDimensions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of energyml-prodml20 Show documentation
Show all versions of energyml-prodml20 Show documentation
API to interract with energyml (resqml, witml, prodml)
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.0
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2022.10.13 at 08:02:05 PM UTC
//
package energyml.prodml2_0;
import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for DasDimensions.
*
*
The following schema fragment specifies the expected content contained within this class.
*
* <simpleType name="DasDimensions">
* <restriction base="{http://www.energistics.org/energyml/data/commonv2}TypeEnum">
* <enumeration value="frequency"/>
* <enumeration value="locus"/>
* <enumeration value="time"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "DasDimensions")
@XmlEnum
public enum DasDimensions {
/**
* Enumeration value to indicate the frequency dimension in a multi-dimensional array.
*
*/
@XmlEnumValue("frequency")
FREQUENCY("frequency"),
/**
* Enumeration value to indicate the locus dimension in a multi-dimensional array.
*
*/
@XmlEnumValue("locus")
LOCUS("locus"),
/**
* Enumeration value to indicate the time dimension in a multi-dimensional array.
*
*/
@XmlEnumValue("time")
TIME("time");
private final String value;
DasDimensions(String v) {
value = v;
}
public String value() {
return value;
}
public static DasDimensions fromValue(String v) {
for (DasDimensions c: DasDimensions.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}