Modifier and Type | Field and Description |
---|---|
static EventConstant |
CREATION
Deprecated.
|
static EventConstant |
DELETION
Deprecated.
|
static EventConstant |
MODIFICATION
Deprecated.
|
static EventConstant |
TRANSFER
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Deprecated.
Standard equals method.
|
String |
getCode()
Deprecated.
Returns the code of this event.
|
int |
hashCode()
Deprecated.
Returns the hash code of this object.
|
String |
toString()
Deprecated.
Returns the database code.
|
static EventConstant |
valueOf(String eventCode)
Deprecated.
Returns the corresponding instance of the given event code.
|
public static final EventConstant DELETION
public static final EventConstant TRANSFER
public static final EventConstant MODIFICATION
public static final EventConstant CREATION
public static EventConstant valueOf(String eventCode)
If the event code does not match any code an exception is thrown.
eventCode
- The event code.IllegalArgumentException
- if the code is invalid.public boolean equals(Object o)
public int hashCode()
public String toString()
public String getCode()
Copyright © 2014 EMBL-EBI. All rights reserved.