public final class Accession extends Object implements PhylogenyData, Comparable<Accession>
| Modifier and Type | Class and Description |
|---|---|
static class |
Accession.Source |
| Constructor and Description |
|---|
Accession(String value) |
Accession(String value,
Accession.Source source) |
Accession(String value,
String source) |
Accession(String value,
String source,
String comment) |
| Modifier and Type | Method and Description |
|---|---|
StringBuffer |
asSimpleText() |
StringBuffer |
asText() |
int |
compareTo(Accession o) |
PhylogenyData |
copy()
Creates a new PhylogenyData object with identical values as this
PhylogenyData.
|
boolean |
equals(Object o) |
String |
getComment() |
String |
getSource() |
String |
getValue() |
int |
hashCode() |
boolean |
isEqual(PhylogenyData data)
Compares this PhylogenyData to PhylogenyData data.
|
StringBuffer |
toNHX() |
void |
toPhyloXML(Writer writer,
int level,
String indentation)
Writes a phyloXML representation of this phylogeny data.
|
String |
toString() |
public Accession(String value)
public Accession(String value, Accession.Source source)
public StringBuffer asSimpleText()
asSimpleText in interface PhylogenyDatapublic StringBuffer asText()
asText in interface PhylogenyDatapublic int compareTo(Accession o)
compareTo in interface Comparable<Accession>public PhylogenyData copy()
PhylogenyDatacopy in interface PhylogenyDatapublic String getComment()
public String getSource()
public String getValue()
public boolean isEqual(PhylogenyData data)
PhylogenyDataisEqual in interface PhylogenyDatapublic StringBuffer toNHX()
toNHX in interface PhylogenyDatapublic void toPhyloXML(Writer writer, int level, String indentation) throws IOException
PhylogenyDatatoPhyloXML in interface PhylogenyDataIOExceptionCopyright © 2016. All rights reserved.