From: <rv...@us...> - 2011-04-19 11:22:38
|
Revision: 793 http://treebase.svn.sourceforge.net/treebase/?rev=793&view=rev Author: rvos Date: 2011-04-19 11:22:32 +0000 (Tue, 19 Apr 2011) Log Message: ----------- No longer returning owl:sameAs annotations because we are using the TreebaseIDString values as xml id's directly. Modified Paths: -------------- trunk/treebase-core/src/main/java/org/cipres/treebase/domain/AbstractPersistedObject.java Modified: trunk/treebase-core/src/main/java/org/cipres/treebase/domain/AbstractPersistedObject.java =================================================================== --- trunk/treebase-core/src/main/java/org/cipres/treebase/domain/AbstractPersistedObject.java 2011-04-19 11:20:14 UTC (rev 792) +++ trunk/treebase-core/src/main/java/org/cipres/treebase/domain/AbstractPersistedObject.java 2011-04-19 11:22:32 UTC (rev 793) @@ -111,10 +111,9 @@ @Transient public List<Annotation> getAnnotations() { // This is called by child classes using super.getAnnotations() - // to get the common annotations out of the way + // to get the common annotations out of the way. We no longer need + // to do owl:sameAs because we use TreeBASE ID strings as XML IDs. List<Annotation> annotations = new ArrayList<Annotation>(); - URI uri = URI.create(TreebaseUtil.getPurlBase()+getPhyloWSPath()); - annotations.add(new Annotation(Constants.OWLURI,"owl:sameAs",uri)); TBPersistable context = getContext(); if ( null != context ) { URI contextUri = URI.create(TreebaseUtil.getPurlBase()+context.getPhyloWSPath()); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |