Package org.forester.go
Class BasicGoXRef
- java.lang.Object
-
- org.forester.go.BasicGoXRef
-
-
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, 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
-
-
Constructor Summary
Constructors Constructor Description BasicGoXRef(java.lang.String s)
BasicGoXRef(GoXRef.Type type, java.lang.String xref)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(GoXRef xref)
boolean
equals(java.lang.Object o)
Based on value and type.GoXRef.Type
getType()
java.lang.String
getXRef()
java.lang.String
toString()
-
-
-
Constructor Detail
-
BasicGoXRef
public BasicGoXRef(java.lang.String s)
-
BasicGoXRef
public BasicGoXRef(GoXRef.Type type, java.lang.String xref)
-
-
Method Detail
-
compareTo
public int compareTo(GoXRef xref)
- Specified by:
compareTo
in interfacejava.lang.Comparable<GoXRef>
-
equals
public boolean equals(java.lang.Object o)
Based on value and type.- Overrides:
equals
in classjava.lang.Object
-
getType
public GoXRef.Type getType()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-