|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.ebi.intenz.domain.constants.EnzymeSourceConstant
public class EnzymeSourceConstant
This class represents an enumeration of all database source types.
Instances of this class are immutable.
| Field Summary | |
|---|---|
static EnzymeSourceConstant |
BRENDA
|
static EnzymeSourceConstant |
INTENZ
|
static EnzymeSourceConstant |
IUBMB
|
static EnzymeSourceConstant |
SIB
|
static EnzymeSourceConstant |
UNDEF
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Standard equals method. |
int |
hashCode()
Returns the hash code of this object. |
String |
toDisplayString()
Deprecated. |
static String |
toDisplayString(String source)
Deprecated. |
String |
toString()
Returns the database code. |
static EnzymeSourceConstant |
valueOf(String sourceCode)
Returns the corresponding instance of the given source code. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final EnzymeSourceConstant UNDEF
public static final EnzymeSourceConstant IUBMB
public static final EnzymeSourceConstant SIB
public static final EnzymeSourceConstant BRENDA
public static final EnzymeSourceConstant INTENZ
| Method Detail |
|---|
public static EnzymeSourceConstant valueOf(String sourceCode)
sourceCode - The source code.
NullPointerException - if sourceCode is null.
IllegalArgumentException - if the code is invalid.public boolean equals(Object o)
equals in class Objecto - Object to be compared to this one.
true if the objects are equal.public int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectpublic static String toDisplayString(String source)
source -
public String toDisplayString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||