org.forester.go
Class BasicGoXRef
java.lang.Object
org.forester.go.BasicGoXRef
- All Implemented Interfaces:
- java.lang.Comparable<GoXRef>, GoXRef
public class BasicGoXRef
- extends java.lang.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, CORUM_STR, EC_STR, GOC_STR, IMG_STR, KEGG_STR, META_CYC_STR, NIF_SUBCELLULAR_STR, PMID_STR, PO_STR, REACTOME_STR, RESID_STR, RHEA_STR, SABIO_RK_STR, TC_STR, UM_BBD_ENZYME_ID_STR, UM_BBD_PATHWAY_ID_STR, UM_BBD_REACTIONID_STR, UNIPATHWAY_STR, WIKIPEDIA_STR, XX_STR |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BasicGoXRef
public BasicGoXRef(java.lang.String s)
BasicGoXRef
public BasicGoXRef(GoXRef.Type type,
java.lang.String xref)
compareTo
public int compareTo(GoXRef xref)
- Specified by:
compareTo in interface java.lang.Comparable<GoXRef>
equals
public boolean equals(java.lang.Object o)
- Based on value and type.
- Overrides:
equals in class java.lang.Object
getType
public GoXRef.Type getType()
- Specified by:
getType in interface GoXRef
getXRef
public java.lang.String getXRef()
- Specified by:
getXRef in interface GoXRef
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object