com.hashmapinc.tempus.WitsmlObjects.v1411.ShowRating 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
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2017.06.26 at 03:00:38 PM CDT
//
package com.hashmapinc.tempus.WitsmlObjects.v1411;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for ShowRating.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
{@code
*
*
*
*
*
*
*
*
*
*
*
* }
*
*/
@XmlType(name = "ShowRating")
@XmlEnum
public enum ShowRating {
@XmlEnumValue("none")
NONE("none"),
@XmlEnumValue("very poor")
VERY_POOR("very poor"),
@XmlEnumValue("poor")
POOR("poor"),
@XmlEnumValue("fair")
FAIR("fair"),
@XmlEnumValue("good")
GOOD("good"),
@XmlEnumValue("very good")
VERY_GOOD("very good"),
/**
* 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;
ShowRating(String v) {
value = v;
}
public String value() {
return value;
}
public static ShowRating fromValue(String v) {
for (ShowRating c: ShowRating.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}