|
From: <rv...@us...> - 2010-03-15 01:17:47
|
Revision: 582
http://treebase.svn.sourceforge.net/treebase/?rev=582&view=rev
Author: rvos
Date: 2010-03-15 01:17:38 +0000 (Mon, 15 Mar 2010)
Log Message:
-----------
Added getLabel() for nexml and rdf serialization.
Modified Paths:
--------------
trunk/treebase-core/src/main/java/org/cipres/treebase/domain/tree/PhyloTreeNode.java
Modified: trunk/treebase-core/src/main/java/org/cipres/treebase/domain/tree/PhyloTreeNode.java
===================================================================
--- trunk/treebase-core/src/main/java/org/cipres/treebase/domain/tree/PhyloTreeNode.java 2010-03-15 01:16:43 UTC (rev 581)
+++ trunk/treebase-core/src/main/java/org/cipres/treebase/domain/tree/PhyloTreeNode.java 2010-03-15 01:17:38 UTC (rev 582)
@@ -585,4 +585,10 @@
public boolean haveABCTopology(PhyloTreeNode n1, PhyloTreeNode n2) {
return ! n1.nearestCommonAncestor(n2).isAncestorOf(this);
}
+
+ @Override
+ @Transient
+ public String getLabel() {
+ return getTaxonLabelAsString();
+ }
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|