org.forester.go
Class BasicGoXRef

java.lang.Object
  extended by org.forester.go.BasicGoXRef
All Implemented Interfaces:
Comparable<GoXRef>, GoXRef

public class BasicGoXRef
extends Object
implements GoXRef


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.forester.go.GoXRef
GoXRef.Type
 
Field Summary
 
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
 
Constructor Summary
BasicGoXRef(GoXRef.Type type, String xref)
           
BasicGoXRef(String s)
           
 
Method Summary
 int compareTo(GoXRef xref)
           
 boolean equals(Object o)
          Based on value and type.
 GoXRef.Type getType()
           
 String getXRef()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BasicGoXRef

public BasicGoXRef(String s)

BasicGoXRef

public BasicGoXRef(GoXRef.Type type,
                   String xref)
Method Detail

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