public static enum WitsmlTubular.Component.Motor.BearingType extends Enum<WitsmlTubular.Component.Motor.BearingType>
Enum Constant and Description |
---|
MUD_LUBE |
OIL_SEAL |
OTHER |
UNKNOWN
The value is not known.
|
Modifier and Type | Method and Description |
---|---|
static WitsmlTubular.Component.Motor.BearingType |
get(String tag)
Return enumeration value for the specified string tag.
|
String |
toString() |
static WitsmlTubular.Component.Motor.BearingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WitsmlTubular.Component.Motor.BearingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WitsmlTubular.Component.Motor.BearingType OIL_SEAL
public static final WitsmlTubular.Component.Motor.BearingType MUD_LUBE
public static final WitsmlTubular.Component.Motor.BearingType OTHER
public static final WitsmlTubular.Component.Motor.BearingType UNKNOWN
public static WitsmlTubular.Component.Motor.BearingType[] values()
for (WitsmlTubular.Component.Motor.BearingType c : WitsmlTubular.Component.Motor.BearingType.values()) System.out.println(c);
public static WitsmlTubular.Component.Motor.BearingType 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<WitsmlTubular.Component.Motor.BearingType>
public static WitsmlTubular.Component.Motor.BearingType get(String tag)
tag
- String tag to get value of. Non-null.Copyright © 2023 Petroware AS - https://petroware.no