All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hashmapinc.tempus.WitsmlObjects.v1311.IntervalMethod Maven / Gradle / Ivy

Go to download

This library assists in serializing and deserializing WITSML 1.3.1.1 and 1.4.1.1 Objects

There is a newer version: 1.1.48.1
Show newest version
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 IntervalMethod. * *

The following schema fragment specifies the expected content contained within this class. * *

 {@code
 * 
 *   
 *     
 *     
 *     
 *     
 *     
 *     
 *   
 * 
 * } 
* */ @XmlType(name = "IntervalMethod") @XmlEnum public enum IntervalMethod { @XmlEnumValue("average") AVERAGE("average"), @XmlEnumValue("maximum") MAXIMUM("maximum"), @XmlEnumValue("minimum") MINIMUM("minimum"), @XmlEnumValue("other") OTHER("other"), @XmlEnumValue("spot sample") SPOT_SAMPLE("spot sample"), /** * 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; IntervalMethod(String v) { value = v; } public String value() { return value; } public static IntervalMethod fromValue(String v) { for (IntervalMethod c: IntervalMethod.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy