public enum Event extends Enum<Event> implements Serializable
<xs:simpleType xmlns:ns="http://ns.dataone.org/service/types/v1" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="Event">
<xs:restriction base="xs:string">
<xs:enumeration value="create"/>
<xs:enumeration value="read"/>
<xs:enumeration value="update"/>
<xs:enumeration value="delete"/>
<xs:enumeration value="replicate"/>
<xs:enumeration value="synchronization_failed"/>
<xs:enumeration value="replication_failed"/>
</xs:restriction>
</xs:simpleType>
| Enum Constant and Description |
|---|
CREATE |
DELETE |
READ |
REPLICATE |
REPLICATION_FAILED |
SYNCHRONIZATION_FAILED |
UPDATE |
| Modifier and Type | Method and Description |
|---|---|
static Event |
convert(String value) |
static Event |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Event[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
String |
xmlValue() |
public static final Event CREATE
public static final Event READ
public static final Event UPDATE
public static final Event DELETE
public static final Event REPLICATE
public static final Event SYNCHRONIZATION_FAILED
public static final Event REPLICATION_FAILED
public static Event[] values()
for (Event c : Event.values()) System.out.println(c);
public static Event 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 xmlValue()
Copyright © 2014. All Rights Reserved.