|
|||||||||
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 PhylogenyData
public StringBuffer asText()
asText
in interface PhylogenyData
public int compareTo(GoTerm go_term)
compareTo
in interface Comparable<GoTerm>
public PhylogenyData copy()
copy
in interface PhylogenyData
public boolean equals(Object o)
equals
in class Object
public List<GoId> getAltIds()
getAltIds
in interface GoTerm
public String getComment()
getComment
in interface GoTerm
public String getDefinition()
getDefinition
in interface GoTerm
public GoId getGoId()
getGoId
in interface GoTerm
public GoNameSpace getGoNameSpace()
getGoNameSpace
in interface GoTerm
public List<GoRelationship> getGoRelationships()
getGoRelationships
in interface GoTerm
public List<GoSubset> getGoSubsets()
getGoSubsets
in interface GoTerm
public List<GoXRef> getGoXRefs()
getGoXRefs
in interface GoTerm
public String getName()
getName
in interface GoTerm
public List<GoId> getSuperGoIds()
getSuperGoIds
in interface GoTerm
public int hashCode()
hashCode
in class Object
public boolean isEqual(PhylogenyData go_term)
PhylogenyData
isEqual
in interface PhylogenyData
public boolean isObsolete()
isObsolete
in interface GoTerm
public 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 PhylogenyData
IOException
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |