|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.ebi.intenz.domain.constants.EnzymeNameTypeConstant
public class EnzymeNameTypeConstant
This class represents an enumeration of all database source types.
Instances of this class are immutable.
| Field Summary | |
|---|---|
static EnzymeNameTypeConstant |
COMMON_NAME
|
static EnzymeNameTypeConstant |
OTHER_NAME
|
static EnzymeNameTypeConstant |
SYSTEMATIC_NAME
|
static EnzymeNameTypeConstant |
UNDEF
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Standard equals method. |
int |
hashCode()
Returns the hash code of this object. |
String |
toString()
Returns the database code. |
static EnzymeNameTypeConstant |
valueOf(String type)
Returns an EnzymeNameTypeConstant instance of the given type string. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final EnzymeNameTypeConstant UNDEF
public static final EnzymeNameTypeConstant COMMON_NAME
public static final EnzymeNameTypeConstant SYSTEMATIC_NAME
public static final EnzymeNameTypeConstant OTHER_NAME
| Method Detail |
|---|
public static EnzymeNameTypeConstant valueOf(String type)
EnzymeNameTypeConstant instance of the given type string.
type - The type string defining this instance.
EnzymeNameTypeConstant instance.
NullPointerException - if type is null.
IllegalArgumentException - if type is unknown.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 Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||