|
From: <rv...@us...> - 2010-03-15 01:02:46
|
Revision: 570
http://treebase.svn.sourceforge.net/treebase/?rev=570&view=rev
Author: rvos
Date: 2010-03-15 01:02:39 +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/matrix/PhyloChar.java
Modified: trunk/treebase-core/src/main/java/org/cipres/treebase/domain/matrix/PhyloChar.java
===================================================================
--- trunk/treebase-core/src/main/java/org/cipres/treebase/domain/matrix/PhyloChar.java 2010-03-15 01:01:33 UTC (rev 569)
+++ trunk/treebase-core/src/main/java/org/cipres/treebase/domain/matrix/PhyloChar.java 2010-03-15 01:02:39 UTC (rev 570)
@@ -81,5 +81,10 @@
public boolean isInteresting() {
return getId() >= Constants.MIN_INTERESTING_PHYLOCHAR_ID;
}
+
+ @Transient
+ public String getLabel() {
+ return getDescription();
+ }
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|