public class Cofactor extends Object implements Viewable
Modifier and Type | Class and Description |
---|---|
static class |
Cofactor.Operators |
Constructor and Description |
---|
Cofactor(String cofactorValue,
EnzymeSourceConstant source,
EnzymeViewConstant view)
Deprecated.
use the valueOf method instead to call the private constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Standard equals method.
|
String |
getCofactorValue()
Deprecated.
use
getCompound() .getName() or toString() instead |
uk.ac.ebi.rhea.domain.Compound |
getCompound() |
EnzymeSourceConstant |
getSource() |
EnzymeViewConstant |
getView() |
int |
hashCode()
Returns the hash code of this object.
|
String |
toString() |
static Cofactor |
valueOf(uk.ac.ebi.rhea.domain.Compound compound,
EnzymeSourceConstant source,
EnzymeViewConstant view)
Builds a cofactor from the passed parameters.
|
public Cofactor(String cofactorValue, EnzymeSourceConstant source, EnzymeViewConstant view)
Cofactor
instance defined by cofactorValue
.cofactorValue
- The string representation of the cofactor(s).NullPointerException
- if cofactorValue
is null
.IllegalArgumentException
- if cofactorValue
is empty.public static Cofactor valueOf(uk.ac.ebi.rhea.domain.Compound compound, EnzymeSourceConstant source, EnzymeViewConstant view)
compound
- source
- view
- public boolean equals(Object o)
public int hashCode()
public String getCofactorValue()
public EnzymeSourceConstant getSource()
public EnzymeViewConstant getView()
public uk.ac.ebi.rhea.domain.Compound getCompound()
Copyright © 2014 EMBL-EBI. All rights reserved.