Package org.forester.phylogeny.data
Class ProteinDomain
java.lang.Object
org.forester.phylogeny.data.ProteinDomain
- All Implemented Interfaces:
 PhylogenyData
- 
Field Summary
Fields - 
Constructor Summary
ConstructorsConstructorDescriptionProteinDomain(String name, int from, int to) ProteinDomain(String name, int from, int to, double confidence) ProteinDomain(String name, int from, int to, String id) ProteinDomain(String name, int from, int to, String id, double confidence)  - 
Method Summary
Modifier and TypeMethodDescriptionasText()copy()Creates a new PhylogenyData object with identical values as this PhylogenyData.doubleintgetFrom()getId()intgetName()intgetTo()booleanisEqual(PhylogenyData protein_domain) Compares this PhylogenyData to PhylogenyData data.toNHX()voidtoPhyloXML(Writer writer, int level, String indentation) Writes a phyloXML representation of this phylogeny data.toString() 
- 
Field Details
- 
CONFIDENCE_DEFAULT
public static final double CONFIDENCE_DEFAULT- See Also:
 
 - 
IDENTIFIER_DEFAULT
- See Also:
 
 
 - 
 - 
Constructor Details
- 
ProteinDomain
 - 
ProteinDomain
 - 
ProteinDomain
 - 
ProteinDomain
 
 - 
 - 
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
public double getConfidence() - 
getFrom
public int getFrom() - 
getId
 - 
getLength
public int getLength() - 
getName
 - 
getTo
public int getTo() - 
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
 
 - 
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
 
 -