From: <rv...@us...> - 2010-06-04 11:26:39
|
Revision: 714 http://treebase.svn.sourceforge.net/treebase/?rev=714&view=rev Author: rvos Date: 2010-06-04 11:26:33 +0000 (Fri, 04 Jun 2010) Log Message: ----------- Adding annotation of tb:identifier.taxon.tb1 Modified Paths: -------------- trunk/treebase-core/src/main/java/org/cipres/treebase/domain/taxon/Taxon.java Modified: trunk/treebase-core/src/main/java/org/cipres/treebase/domain/taxon/Taxon.java =================================================================== --- trunk/treebase-core/src/main/java/org/cipres/treebase/domain/taxon/Taxon.java 2010-06-04 11:25:52 UTC (rev 713) +++ trunk/treebase-core/src/main/java/org/cipres/treebase/domain/taxon/Taxon.java 2010-06-04 11:26:33 UTC (rev 714) @@ -261,6 +261,9 @@ annotations.add(new Annotation(Constants.SKOSURI,"skos:exactMatch",Constants.uBioBase + getUBioNamebankId())); annotations.add(new Annotation(Constants.TBTermsURI, "tb:identifier.ubio", getUBioNamebankId())); } + if ( null != getTB1LegacyId() ) { + annotations.add(new Annotation(Constants.TBTermsURI, "tb:identifier.taxon.tb1", getTB1LegacyId())); + } } catch ( Exception e ) { e.printStackTrace(); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |