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