Package org.forester.phylogeny.data
Class Annotation
java.lang.Object
org.forester.phylogeny.data.Annotation
- All Implemented Interfaces:
 Comparable<Annotation>,MultipleUris,PhylogenyData
public class Annotation
extends Object
implements PhylogenyData, MultipleUris, Comparable<Annotation>
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidasText()intcopy()Creates a new PhylogenyData object with identical values as this PhylogenyData.booleangetDesc()getRef()final Stringfinal StringgetType()getUri(int index) getUris()booleanisEqual(PhylogenyData data) Compares this PhylogenyData to PhylogenyData data.voidsetConfidence(Confidence confidence) voidvoidsetEvidence(String evidence) voidsetProperties(PropertiesMap property) voidvoidvoidtoNHX()voidtoPhyloXML(Writer writer, int level, String indentation) Writes a phyloXML representation of this phylogeny data.toString() 
- 
Constructor Details
- 
Annotation
public Annotation() - 
Annotation
 - 
Annotation
 
 - 
 - 
Method Details
- 
addUri
- Specified by:
 addUriin interfaceMultipleUris
 - 
asSimpleText
- Specified by:
 asSimpleTextin interfacePhylogenyData
 - 
asText
- Specified by:
 asTextin interfacePhylogenyData
 - 
compareTo
- Specified by:
 compareToin interfaceComparable<Annotation>
 - 
copy
Description copied from interface:PhylogenyDataCreates a new PhylogenyData object with identical values as this PhylogenyData. This ~should~ return a deep copy, but not there yet.- Specified by:
 copyin interfacePhylogenyData- Returns:
 - a ~deep~ copy of this PhylogenyData
 
 - 
equals
 - 
getConfidence
 - 
getDesc
 - 
getEvidence
 - 
getProperties
 - 
getRef
 - 
getRefSource
 - 
getRefValue
 - 
getSource
 - 
getType
 - 
getUri
- Specified by:
 getUriin interfaceMultipleUris
 - 
getUris
- Specified by:
 getUrisin interfaceMultipleUris
 - 
isEqual
Description copied from interface:PhylogenyDataCompares this PhylogenyData to PhylogenyData data. In general, this should return true if and only if all fiels are exactly identical.- Specified by:
 isEqualin interfacePhylogenyData- Returns:
 - in general, true if and only if all fiels are exactly identical, false otherwise
 
 - 
setConfidence
 - 
setDesc
 - 
setEvidence
 - 
setProperties
 - 
setSource
 - 
setType
 - 
setUris
- Specified by:
 setUrisin interfaceMultipleUris
 - 
toNHX
- Specified by:
 toNHXin interfacePhylogenyData
 - 
toPhyloXML
Description copied from interface:PhylogenyDataWrites a phyloXML representation of this phylogeny data.- Specified by:
 toPhyloXMLin interfacePhylogenyData- Throws:
 IOException
 - 
toString
 
 -