public enum DoiStatus extends Enum<DoiStatus>
Enum Constant and Description |
---|
DELETED
The identifier once was registered, but the object referenced by the identifier is not available.
|
FAILED
A failed DOI status indicates we could not communicate with DataCite cause we had invalid metadata.
|
NEW
A NEW DOI status indicates the DOI has been minted in GBIF only and has not yet been passed on to DataCite.
|
REGISTERED
A public, registered DOI.
|
RESERVED
The identifier is known only to the DOI registration agency.
|
Modifier and Type | Method and Description |
---|---|
static DoiStatus |
fromString(String status) |
String |
getEzid() |
boolean |
isRegistered() |
static DoiStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DoiStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DoiStatus NEW
public static final DoiStatus RESERVED
public static final DoiStatus REGISTERED
public static final DoiStatus DELETED
public static DoiStatus[] values()
for (DoiStatus c : DoiStatus.values()) System.out.println(c);
public static DoiStatus 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 boolean isRegistered()
public static DoiStatus fromString(String status)
Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.