|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.ebi.intenz.domain.enzyme.EnzymeClass
public class EnzymeClass
This class represents an enzyme class of the Enzyme Nomenclature.
Instances of this class are immutable.
| Method Summary | |
|---|---|
int |
compareTo(EnzymeClass enzymeClass)
Makes instances of this class comparable. |
boolean |
equals(Object o)
Standard equals method. |
String |
getDescription()
|
EnzymeCommissionNumber |
getEc()
Returns the hash code of this object. |
String |
getName()
|
List<EnzymeSubclass> |
getSubclasses()
|
int |
hashCode()
|
static EnzymeClass |
valueOf(EnzymeCommissionNumber ec,
String name,
String description,
List<EnzymeSubclass> subclasses)
Returns an EnzymeClass instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static EnzymeClass valueOf(EnzymeCommissionNumber ec,
String name,
String description,
List<EnzymeSubclass> subclasses)
EnzymeClass instance.
ec - The class' EC.name - The name of the class.description - The description of the class.subclasses - The list of subclasses (see EnzymeSubclass).
NullPointerException - if any parameter is null.
IllegalArgumentException - if name or the list of subclasses is empty.public int compareTo(EnzymeClass enzymeClass)
compareTo in interface Comparable<EnzymeClass>enzymeClass - The object to be compared to this instance.
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 EnzymeCommissionNumber getEc()
public String getName()
public String getDescription()
public List<EnzymeSubclass> getSubclasses()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||