|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.forester.go.BasicGoTerm
public class BasicGoTerm
| Constructor Summary | |
|---|---|
BasicGoTerm(GoId id,
String name,
GoNameSpace namespace,
boolean is_obsolete)
|
|
BasicGoTerm(String id,
String name,
String namespace,
boolean is_obsolete)
|
|
| Method Summary | |
|---|---|
StringBuffer |
asSimpleText()
|
StringBuffer |
asText()
|
int |
compareTo(GoTerm go_term)
Compares based on GO id. |
PhylogenyData |
copy()
Makes a shallow copy. |
boolean |
equals(Object o)
Return true if both GO id and namespace are equal. |
List<GoId> |
getAltIds()
|
String |
getComment()
|
String |
getDefinition()
|
GoId |
getGoId()
|
GoNameSpace |
getGoNameSpace()
|
List<GoRelationship> |
getGoRelationships()
|
List<GoSubset> |
getGoSubsets()
|
List<GoXRef> |
getGoXRefs()
|
String |
getName()
|
List<GoId> |
getSuperGoIds()
|
int |
hashCode()
Hashcode is based on hashcode of GO id. |
boolean |
isEqual(PhylogenyData go_term)
Compares this PhylogenyData to PhylogenyData data. |
boolean |
isObsolete()
|
void |
setComment(String comment)
|
void |
setDefinition(String definition)
|
void |
setGoSubsets(List<GoSubset> go_subsets)
|
StringBuffer |
toNHX()
|
void |
toPhyloXML(Writer writer,
int level,
String indentation)
Writes a phyloXML representation of this phylogeny data. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BasicGoTerm(GoId id,
String name,
GoNameSpace namespace,
boolean is_obsolete)
public BasicGoTerm(String id,
String name,
String namespace,
boolean is_obsolete)
| Method Detail |
|---|
public StringBuffer asSimpleText()
asSimpleText in interface PhylogenyDatapublic StringBuffer asText()
asText in interface PhylogenyDatapublic int compareTo(GoTerm go_term)
compareTo in interface Comparable<GoTerm>public PhylogenyData copy()
copy in interface PhylogenyDatapublic boolean equals(Object o)
equals in class Objectpublic List<GoId> getAltIds()
getAltIds in interface GoTermpublic String getComment()
getComment in interface GoTermpublic String getDefinition()
getDefinition in interface GoTermpublic GoId getGoId()
getGoId in interface GoTermpublic GoNameSpace getGoNameSpace()
getGoNameSpace in interface GoTermpublic List<GoRelationship> getGoRelationships()
getGoRelationships in interface GoTermpublic List<GoSubset> getGoSubsets()
getGoSubsets in interface GoTermpublic List<GoXRef> getGoXRefs()
getGoXRefs in interface GoTermpublic String getName()
getName in interface GoTermpublic List<GoId> getSuperGoIds()
getSuperGoIds in interface GoTermpublic int hashCode()
hashCode in class Objectpublic boolean isEqual(PhylogenyData go_term)
PhylogenyData
isEqual in interface PhylogenyDatapublic boolean isObsolete()
isObsolete in interface GoTermpublic void setComment(String comment)
public void setDefinition(String definition)
public void setGoSubsets(List<GoSubset> go_subsets)
public StringBuffer toNHX()
toNHX in interface PhylogenyData
public void toPhyloXML(Writer writer,
int level,
String indentation)
throws IOException
PhylogenyData
toPhyloXML in interface PhylogenyDataIOExceptionpublic String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||