org.forester.go
Class BasicGoXRef
java.lang.Object
org.forester.go.BasicGoXRef
- All Implemented Interfaces:
- Comparable<GoXRef>, GoXRef
public class BasicGoXRef
- extends Object
- implements GoXRef
Nested classes/interfaces inherited from interface org.forester.go.GoXRef |
GoXRef.Type |
Fields inherited from interface org.forester.go.GoXRef |
ARACYC_STR, EC_STR, GOC_STR, IMG_STR, KEGG_STR, META_CYC_STR, PMID_STR, REACTOME_STR, RESID_STR, TC_STR, UM_BBD_ENZYME_ID_STR, UM_BBD_PATHWAY_ID_STR, UM_BBD_REACTIONID_STR, WIKIPEDIA_STR, XX_STR |
BasicGoXRef
public BasicGoXRef(String s)
BasicGoXRef
public BasicGoXRef(GoXRef.Type type,
String xref)
compareTo
public int compareTo(GoXRef xref)
- Specified by:
compareTo
in interface Comparable<GoXRef>
equals
public boolean equals(Object o)
- Based on value and type.
- Overrides:
equals
in class Object
getType
public GoXRef.Type getType()
- Specified by:
getType
in interface GoXRef
getXRef
public String getXRef()
- Specified by:
getXRef
in interface GoXRef
toString
public String toString()
- Overrides:
toString
in class Object