public interface ITaxonTreeNode extends IAnnotatableEntity
Modifier and Type | Method and Description |
---|---|
TaxonNode |
addChildNode(TaxonNode childNode,
int index,
Reference citation,
java.lang.String microCitation)
Adds a taxon node as a child of this
ITreeNode at the index position. |
TaxonNode |
addChildNode(TaxonNode childNode,
Reference citation,
java.lang.String microCitation)
Adds a taxon node as a child of the ITreeNode at the last position.
|
TaxonNode |
addChildTaxon(Taxon taxon,
int index,
Reference citation,
java.lang.String microCitation)
Adds a taxon as a child of the ITreeNode at the index position.
|
TaxonNode |
addChildTaxon(Taxon taxon,
Reference citation,
java.lang.String microCitation)
Adds a taxon as a child of the ITreeNode at the last position.
|
boolean |
deleteChildNode(TaxonNode node)
This recursively removes all child nodes from this node and from this taxonomic view.
|
java.util.List<TaxonNode> |
getChildNodes()
Returns the list of direct child nodes of
this ITreeNode. |
java.lang.String |
getMicroReference() |
Reference |
getReference() |
boolean |
hasChildNodes()
Whether this TreeNode has child nodes attached
|
addAnnotation, addMarker, getAnnotations, getMarkers, getMarkers, hasMarker, hasMarker, markerValue, removeAnnotation, removeMarker, removeMarker
getUpdated, getUpdatedBy, setUpdated, setUpdatedBy
getCreated, getCreatedBy, getId, getUuid, isInstanceOf, isPersited, setCreated, setCreatedBy, setId, setUuid
TaxonNode addChildNode(TaxonNode childNode, Reference citation, java.lang.String microCitation)
childNode
- citation
- microCitation
- synonymToBeUsed
- TaxonNode addChildNode(TaxonNode childNode, int index, Reference citation, java.lang.String microCitation)
ITreeNode
at the index position.childNode
- index
- citation
- microCitation
- TaxonNode addChildTaxon(Taxon taxon, Reference citation, java.lang.String microCitation)
taxon
- citation
- microCitation
- TaxonNode addChildTaxon(Taxon taxon, int index, Reference citation, java.lang.String microCitation)
taxon
- citation
- microCitation
- boolean hasChildNodes()
boolean deleteChildNode(TaxonNode node)
node
- java.util.List<TaxonNode> getChildNodes()
this
ITreeNode.Reference getReference()
java.lang.String getMicroReference()
Copyright © 2007-2020 EDIT. All Rights Reserved.