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

com.hashmapinc.tempus.WitsmlObjects.v1311.RiskCategory 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 RiskCategory. * *

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

 {@code
 * 
 *   
 *     
 *     
 *     
 *     
 *     
 *     
 *     
 *     
 *     
 *     
 *     
 *     
 *   
 * 
 * } 
* */ @XmlType(name = "RiskCategory") @XmlEnum public enum RiskCategory { @XmlEnumValue("hydraulics") HYDRAULICS("hydraulics"), @XmlEnumValue("mechanical") MECHANICAL("mechanical"), @XmlEnumValue("time related") TIME_RELATED("time related"), @XmlEnumValue("wellbore stability") WELLBORE_STABILITY("wellbore stability"), @XmlEnumValue("directional drilling") DIRECTIONAL_DRILLING("directional drilling"), @XmlEnumValue("bit") BIT("bit"), @XmlEnumValue("equipment failure") EQUIPMENT_FAILURE("equipment failure"), @XmlEnumValue("completion") COMPLETION("completion"), @XmlEnumValue("casing") CASING("casing"), @XmlEnumValue("other") OTHER("other"), /** * health, safety and environmental * */ HSE("HSE"), /** * 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; RiskCategory(String v) { value = v; } public String value() { return value; } public static RiskCategory fromValue(String v) { for (RiskCategory c: RiskCategory.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy