public enum OccurrencePersistenceStatus extends Enum<OccurrencePersistenceStatus>
Occurrence
as it moves through the processing and persistence chain. It
is used both in the processing logic as well as the messages that are exchanged as part of that processing.Enum Constant and Description |
---|
DELETED
This occurrence has been deleted.
|
NEW
This occurrence has never been seen before.
|
UNCHANGED
This occurrence previously existed but there is no new information to propagate.
|
UPDATED
This occurrence previously existed and has now been updated with new information.
|
Modifier and Type | Method and Description |
---|---|
static OccurrencePersistenceStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OccurrencePersistenceStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OccurrencePersistenceStatus NEW
public static final OccurrencePersistenceStatus UPDATED
public static final OccurrencePersistenceStatus UNCHANGED
public static final OccurrencePersistenceStatus DELETED
public static OccurrencePersistenceStatus[] values()
for (OccurrencePersistenceStatus c : OccurrencePersistenceStatus.values()) System.out.println(c);
public static OccurrencePersistenceStatus 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 nullCopyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.