|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.ebi.intenz.domain.enzyme.EnzymeSubSubclass
public class EnzymeSubSubclass
This class represents an enzyme sub-subclass of the Enzyme Nomenclature.
Instances of this class are immutable.
Constructor Summary | |
---|---|
EnzymeSubSubclass(EnzymeCommissionNumber ec,
String className,
String subclassName,
String name,
String description,
List<EnzymeEntry> entries)
Returns an EnzymeSubSubclass instance. |
Method Summary | |
---|---|
int |
compareTo(Object o)
Makes instances of this class comparable. |
boolean |
equals(Object o)
Standard equals method. |
String |
getClassName()
|
String |
getDescription()
|
EnzymeCommissionNumber |
getEc()
|
List<EnzymeEntry> |
getEntries()
|
String |
getName()
|
String |
getSubclassName()
|
int |
hashCode()
Returns the hash code of this object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EnzymeSubSubclass(EnzymeCommissionNumber ec, String className, String subclassName, String name, String description, List<EnzymeEntry> entries)
EnzymeSubSubclass
instance.
ec
- The class' EC.className
- The name of the class.subclassName
- The name of the subclass.name
- The name of the subclass.description
- The description of the class.entries
- The list of entries (see EnzymeEntry
).
NullPointerException
- if any parameters are null
apart from name
and description
.
IllegalArgumentException
- if the list of entries is empty.Method Detail |
---|
public int compareTo(Object o)
o
- The object to be compared to this instance.
NullPointerException
- if o
is null
.public boolean equals(Object o)
equals
in class Object
o
- Object to be compared to this one.
true
if the objects are equal.public int hashCode()
hashCode
in class Object
public EnzymeCommissionNumber getEc()
public String getClassName()
public String getSubclassName()
public String getName()
public String getDescription()
public List<EnzymeEntry> getEntries()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |