public static enum WitsmlRisk.Type extends Enum<WitsmlRisk.Type>
Enum Constant and Description |
---|
BEST_PRACTICE |
EVENT |
LESSONS_LEARNED |
NEAR_MISS |
OTHER |
RISK |
UNKNOWN
The value is not known.
|
Modifier and Type | Method and Description |
---|---|
static WitsmlRisk.Type |
get(String tag) |
String |
toString() |
static WitsmlRisk.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WitsmlRisk.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WitsmlRisk.Type RISK
public static final WitsmlRisk.Type EVENT
public static final WitsmlRisk.Type NEAR_MISS
public static final WitsmlRisk.Type BEST_PRACTICE
public static final WitsmlRisk.Type LESSONS_LEARNED
public static final WitsmlRisk.Type OTHER
public static final WitsmlRisk.Type UNKNOWN
public static WitsmlRisk.Type[] values()
for (WitsmlRisk.Type c : WitsmlRisk.Type.values()) System.out.println(c);
public static WitsmlRisk.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<WitsmlRisk.Type>
public static WitsmlRisk.Type get(String tag)
Copyright © 2023 Petroware AS - https://petroware.no