public class EnzymeClass extends Object implements Comparable<EnzymeClass>
| Modifier and Type | Method and Description |
|---|---|
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. |
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)
public EnzymeCommissionNumber getEc()
public String getName()
public String getDescription()
public List<EnzymeSubclass> getSubclasses()
Copyright © 2014 EMBL-EBI. All rights reserved.