public enum Event extends Enum<Event>
Enum Constant and Description |
---|
CREATION |
DELETION |
MODIFICATION |
TRANSFER |
Modifier and Type | Method and Description |
---|---|
Event |
fromCode(String code) |
String |
getAttribute() |
String |
getCode() |
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.
|
public static final Event DELETION
public static final Event TRANSFER
public static final Event MODIFICATION
public static final Event CREATION
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 getCode()
public String getAttribute()
Copyright © 2014 EMBL-EBI. All rights reserved.