public class Date extends Object implements PhylogenyData
| Constructor and Description |
|---|
Date() |
Date(String desc) |
Date(String desc,
BigDecimal value,
BigDecimal min,
BigDecimal max,
String unit) |
| Modifier and Type | Method and Description |
|---|---|
StringBuffer |
asSimpleText() |
StringBuffer |
asText() |
PhylogenyData |
copy()
Creates a new PhylogenyData object with identical values as this
PhylogenyData.
|
String |
getDesc() |
BigDecimal |
getMax() |
BigDecimal |
getMin() |
String |
getUnit() |
BigDecimal |
getValue() |
boolean |
isEqual(PhylogenyData data)
Compares this PhylogenyData to PhylogenyData data.
|
void |
setDesc(String desc) |
void |
setMax(BigDecimal max) |
void |
setMin(BigDecimal min) |
void |
setUnit(String unit) |
void |
setValue(BigDecimal value) |
StringBuffer |
toNHX() |
void |
toPhyloXML(Writer writer,
int level,
String indentation)
Writes a phyloXML representation of this phylogeny data.
|
String |
toString() |
public Date()
public Date(String desc)
public Date(String desc, BigDecimal value, BigDecimal min, BigDecimal max, String unit)
public StringBuffer asSimpleText()
asSimpleText in interface PhylogenyDatapublic StringBuffer asText()
asText in interface PhylogenyDatapublic PhylogenyData copy()
PhylogenyDatacopy in interface PhylogenyDatapublic String getDesc()
public BigDecimal getMax()
public BigDecimal getMin()
public String getUnit()
public BigDecimal getValue()
public boolean isEqual(PhylogenyData data)
PhylogenyDataisEqual in interface PhylogenyDatapublic void setDesc(String desc)
public void setMax(BigDecimal max)
public void setMin(BigDecimal min)
public void setUnit(String unit)
public void setValue(BigDecimal value)
public StringBuffer toNHX()
toNHX in interface PhylogenyDatapublic void toPhyloXML(Writer writer, int level, String indentation) throws IOException
PhylogenyDatatoPhyloXML in interface PhylogenyDataIOExceptionCopyright © 2016. All rights reserved.