public enum AuthorizationStatus extends Enum<AuthorizationStatus>
Java class for AuthorizationStatus.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="AuthorizationStatus">
<restriction base="{http://www.witsml.org/schemas/1series}abstractTypeEnum">
<enumeration value="draft"/>
<enumeration value="authorized"/>
<enumeration value="superceded"/>
<enumeration value="withdrawn"/>
<enumeration value="unknown"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
AUTHORIZED
Approved for use.
|
DRAFT
Not yet approved.
|
SUPERCEDED
Obsolete; there is a newer version available.
|
UNKNOWN
The value is not known.
|
WITHDRAWN
No longer approved in this or any other version.
|
| Modifier and Type | Method and Description |
|---|---|
static AuthorizationStatus |
fromValue(String v) |
String |
value() |
static AuthorizationStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthorizationStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthorizationStatus DRAFT
public static final AuthorizationStatus AUTHORIZED
public static final AuthorizationStatus SUPERCEDED
public static final AuthorizationStatus WITHDRAWN
public static final AuthorizationStatus UNKNOWN
public static AuthorizationStatus[] values()
for (AuthorizationStatus c : AuthorizationStatus.values()) System.out.println(c);
public static AuthorizationStatus 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 value()
public static AuthorizationStatus fromValue(String v)
Copyright © 2017. All rights reserved.