public enum SpwlaNoValue extends Enum<SpwlaNoValue>
Enum Constant and Description |
---|
ABOVE_RANGE
No result - above measurable range.
|
BELOW_RANGE
No result - below measurable range.
|
FAILED
Sampled failed under test.
|
NO_PLUG
No plug possible.
|
NO_RESULT
No result.
|
UNKNOWN
Data omitted unknown.
|
UNSUITABLE
Sample unsuitable for analysis.
|
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Return the code for this no-value entry-
|
String |
getDescription()
Get textual description for this no-value entry.
|
static boolean |
isNoValue(Object value)
Check if a given vale is no-value according to the definition
of this class.
|
static SpwlaNoValue |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpwlaNoValue[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpwlaNoValue FAILED
public static final SpwlaNoValue NO_RESULT
public static final SpwlaNoValue ABOVE_RANGE
public static final SpwlaNoValue BELOW_RANGE
public static final SpwlaNoValue UNSUITABLE
public static final SpwlaNoValue NO_PLUG
public static final SpwlaNoValue UNKNOWN
public static SpwlaNoValue[] values()
for (SpwlaNoValue c : SpwlaNoValue.values()) System.out.println(c);
public static SpwlaNoValue 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 int getCode()
public String getDescription()
public static boolean isNoValue(Object value)
value
- Value to check. May be null if itself a no-value.Copyright © 2024 Petroware AS - https://petroware.no