Package org.forester.phylogeny.data
Class SequenceRelation
java.lang.Object
org.forester.phylogeny.data.SequenceRelation
- All Implemented Interfaces:
 PhylogenyData
- 
Nested Class Summary
Nested Classes - 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionasText()copy()Creates a new PhylogenyData object with identical values as this PhylogenyData.static StringgetRef0()getRef1()getType()booleanisEqual(PhylogenyData data) Compares this PhylogenyData to PhylogenyData data.voidsetConfidence(Confidence confidence) voidsetDistance(Double distance) voidvoidvoidtoNHX()voidtoPhyloXML(Writer writer, int level, String indentation) Writes a phyloXML representation of this phylogeny data. 
- 
Field Details
- 
typesToNames
 - 
SEQUENCE_RELATION_TYPE_ORTHOLOGY
- See Also:
 
 - 
SEQUENCE_RELATION_TYPE_ONE_TO_ONE_ORTHOLOGY
- See Also:
 
 - 
SEQUENCE_RELATION_TYPE_SUPER_ORTHOLOGY
- See Also:
 
 - 
SEQUENCE_RELATION_TYPE_PARALOGY
- See Also:
 
 - 
SEQUENCE_RELATION_TYPE_ULTRA_PARALOGY
- See Also:
 
 - 
SEQUENCE_RELATION_TYPE_XENOLOGY
- See Also:
 
 - 
SEQUENCE_RELATION_TYPE_UNKNOWN
- See Also:
 
 - 
SEQUENCE_RELATION_TYPE_OTHER
- See Also:
 
 
 - 
 - 
Constructor Details
- 
SequenceRelation
public SequenceRelation() 
 - 
 - 
Method Details
- 
asSimpleText
- Specified by:
 asSimpleTextin interfacePhylogenyData
 - 
asText
- Specified by:
 asTextin interfacePhylogenyData
 - 
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
 
 - 
getConfidence
 - 
getDistance
 - 
getRef0
 - 
getRef1
 - 
getType
 - 
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
 - 
setDistance
 - 
setRef0
 - 
setRef1
 - 
setType
 - 
toNHX
- Specified by:
 toNHXin interfacePhylogenyData
 - 
toPhyloXML
Description copied from interface:PhylogenyDataWrites a phyloXML representation of this phylogeny data.- Specified by:
 toPhyloXMLin interfacePhylogenyData- Throws:
 IOException
 - 
getPrintableNameByType
 
 -