Changeset 104 for branches/omero
- Timestamp:
- 06/09/05 20:03:20 (4 years ago)
- Location:
- branches/omero/components
- Files:
-
- 29 modified
-
client/src/org/openmicroscopy/omero/client/ServiceFactory.java (modified) (1 diff)
-
client/src/org/openmicroscopy/omero/client/SpringHarness.java (modified) (2 diffs)
-
client/src/org/openmicroscopy/omero/client/spring.xml (modified) (1 diff)
-
client/test/org/openmicroscopy/omero/client/itests/OmeroHierarchyBrowsingIntegrationTest.java (modified) (4 diffs)
-
client/test/org/openmicroscopy/omero/client/itests/test.xml (modified) (1 diff)
-
common/.classpath (modified) (1 diff)
-
common/project.xml (modified) (1 diff)
-
common/src/org/openmicroscopy/omero/interfaces/HierarchyBrowsing.java (modified) (9 diffs)
-
common/src/org/openmicroscopy/omero/model2/Category2.java (modified) (1 diff)
-
common/src/org/openmicroscopy/omero/model2/CategoryGroup2.java (modified) (1 diff)
-
common/src/org/openmicroscopy/omero/tests/AbstractOmeroHierarchyBrowserIntegrationTest.java (modified) (2 diffs)
-
common/src/org/openmicroscopy/omero/tests/OMEData.java (modified) (2 diffs)
-
common/src/org/openmicroscopy/omero/tests/OMEPerformanceData.java (modified) (1 diff)
-
common/src/org/openmicroscopy/omero/util/Utils.java (modified) (3 diffs)
-
server/src/org/openmicroscopy/omero/logic/AnnotationDao.java (modified) (1 diff)
-
server/src/org/openmicroscopy/omero/logic/AnnotationDaoHibernate.java (modified) (2 diffs)
-
server/src/org/openmicroscopy/omero/logic/ContainerDao.java (modified) (1 diff)
-
server/src/org/openmicroscopy/omero/logic/ContainerDaoHibernate.java (modified) (2 diffs)
-
server/test/org/openmicroscopy/omero/server/itests/OmeroServiceTest.java (modified) (2 diffs)
-
server/test/org/openmicroscopy/omero/server/itests/OmeroThumbnailsBugTest.java (modified) (2 diffs)
-
server/test/org/openmicroscopy/omero/server/utests/HierarchyBrowsingUnitTest.java (modified) (3 diffs)
-
server/web/WEB-INF/config-test.xml (modified) (1 diff)
-
server/web/WEB-INF/config.xml (modified) (1 diff)
-
shoola-adapter/src/org/openmicroscopy/omero/shoolaadapter/AdapterUtils.java (modified) (3 diffs)
-
shoola-adapter/src/org/openmicroscopy/omero/shoolaadapter/HierarchyBrowsingAdapter.java (modified) (2 diffs)
-
shoola-adapter/src/org/openmicroscopy/omero/shoolaadapter/ServiceFactory.java (modified) (1 diff)
-
test/src/org/openmicroscopy/omero/test/OmeroGrinderTest.java (modified) (2 diffs)
-
test/src/org/openmicroscopy/shoola/env/data/t/ShoolaGrinderTest.java (modified) (1 diff)
-
test/src/speed.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/omero/components/client/src/org/openmicroscopy/omero/client/ServiceFactory.java
r79 r104 1 1 /* 2 * Created on May 8, 2005 3 */ 2 * org.openmicroscopy.omero.ServiceFactory 3 * 4 *------------------------------------------------------------------------------ 5 * 6 * Copyright (C) 2004 Open Microscopy Environment 7 * Massachusetts Institute of Technology, 8 * National Institutes of Health, 9 * University of Dundee 10 * 11 * 12 * 13 * This library is free software; you can redistribute it and/or 14 * modify it under the terms of the GNU Lesser General Public 15 * License as published by the Free Software Foundation; either 16 * version 2.1 of the License, or (at your option) any later version. 17 * 18 * This library is distributed in the hope that it will be useful, 19 * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 * Lesser General Public License for more details. 22 * 23 * You should have received a copy of the GNU Lesser General Public 24 * License along with this library; if not, write to the Free Software 25 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 26 * 27 *------------------------------------------------------------------------------ 28 */ 29 4 30 package org.openmicroscopy.omero.client; 5 31 32 //Java imports 33 34 //Third-party libraries 35 36 //Application-internal dependencies 6 37 import org.openmicroscopy.omero.interfaces.HierarchyBrowsing; 7 38 8 /** 9 * @author josh 39 /** 40 * Entry point for all client calls. Provides methods to 41 * obtain proxies for all remote facades. 42 * 43 * @author Josh Moore 44 * <a href="mailto:josh.moore@gmx.de">josh.moore@gmx.de</a> 45 * @version 1.0 46 * <small> 47 * (<b>Internal version:</b> $Rev$ $Date$) 48 * </small> 49 * @since 1.0 10 50 */ 11 51 public class ServiceFactory { -
branches/omero/components/client/src/org/openmicroscopy/omero/client/SpringHarness.java
r98 r104 1 1 /* 2 * Created on Jul 21, 2004 2 * org.openmicroscopy.shoola.ServiceFactory 3 * 4 *------------------------------------------------------------------------------ 5 * 6 * Copyright (C) 2004 Open Microscopy Environment 7 * Massachusetts Institute of Technology, 8 * National Institutes of Health, 9 * University of Dundee 10 * 11 * 12 * 13 * This library is free software; you can redistribute it and/or 14 * modify it under the terms of the GNU Lesser General Public 15 * License as published by the Free Software Foundation; either 16 * version 2.1 of the License, or (at your option) any later version. 17 * 18 * This library is distributed in the hope that it will be useful, 19 * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 * Lesser General Public License for more details. 22 * 23 * You should have received a copy of the GNU Lesser General Public 24 * License along with this library; if not, write to the Free Software 25 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 26 * 27 *------------------------------------------------------------------------------ 3 28 */ 29 4 30 package org.openmicroscopy.omero.client; 5 31 32 //Java imports 6 33 import java.net.URL; 7 34 35 //Third-party libraries 8 36 import org.springframework.context.ApplicationContext; 9 37 import org.springframework.context.support.FileSystemXmlApplicationContext; 10 38 11 /** provides all objects needed for working with the meta package 12 * within the Spring Framework. 13 * @author moore 39 //Application-internal dependencies 40 41 42 43 /** provides context for all objects configured by the Spring Framework. 44 * 45 * @author Josh Moore 46 * <a href="mailto:josh.moore@gmx.de">josh.moore@gmx.de</a> 47 * @version 1.0 48 * @DEV.TODO Possibly deprecate SpringHarness, make internal to ServiceFactory. 49 * <small> 50 * (<b>Internal version:</b> $Rev$ $Date$) 51 * </small> 52 * @since 1.0 14 53 */ 15 54 public class SpringHarness { … … 22 61 path = SpringHarness.class.getClassLoader().getResource(springConfFile); 23 62 if (path==null){ 24 throw new RuntimeException("C an't find spring.xml on classpath");63 throw new RuntimeException("Client jar corrupted. Can't find internal configuration file:\n"+springConfFile); 25 64 } 26 65 ctx = new FileSystemXmlApplicationContext(path.toString()); -
branches/omero/components/client/src/org/openmicroscopy/omero/client/spring.xml
r98 r104 1 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- 3 #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 # 5 # Copyright (C) 2003 Open Microscopy Environment 6 # Massachusetts Institue of Technology, 7 # National Institutes of Health, 8 # University of Dundee 9 # 10 # 11 # 12 # This library is free software; you can redistribute it and/or 13 # modify it under the terms of the GNU Lesser General Public 14 # License as published by the Free Software Foundation; either 15 # version 2.1 of the License, or (at your option) any later version. 16 # 17 # This library is distributed in the hope that it will be useful, 18 # but WITHOUT ANY WARRANTY; without even the implied warranty of 19 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 20 # Lesser General Public License for more details. 21 # 22 # You should have received a copy of the GNU Lesser General Public 23 # License along with this library; if not, write to the Free Software 24 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 25 # 26 #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 27 --> 28 29 <!-- 30 #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 # Written by: Josh Moore <josh.moore@gmx.de> 32 #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 33 --> 34 35 <!-- 36 37 Configuration of client proxies. 38 39 --> 40 2 41 <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"> 3 42 4 <beans>43 <beans> 5 44 <!-- ***** CONFIG ***** --> 6 45 <!-- property placeholder post-processor --> -
branches/omero/components/client/test/org/openmicroscopy/omero/client/itests/OmeroHierarchyBrowsingIntegrationTest.java
r102 r104 1 1 /* 2 * Created on Jun 7, 2005 3 */ 2 * org.openmicroscopy.omero.client.itests.OmeroHierarchyBrowsingIntegrationTest 3 * 4 *------------------------------------------------------------------------------ 5 * 6 * Copyright (C) 2004 Open Microscopy Environment 7 * Massachusetts Institute of Technology, 8 * National Institutes of Health, 9 * University of Dundee 10 * 11 * 12 * 13 * This library is free software; you can redistribute it and/or 14 * modify it under the terms of the GNU Lesser General Public 15 * License as published by the Free Software Foundation; either 16 * version 2.1 of the License, or (at your option) any later version. 17 * 18 * This library is distributed in the hope that it will be useful, 19 * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 * Lesser General Public License for more details. 22 * 23 * You should have received a copy of the GNU Lesser General Public 24 * License along with this library; if not, write to the Free Software 25 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 26 * 27 *------------------------------------------------------------------------------ 28 */ 29 4 30 package org.openmicroscopy.omero.client.itests; 5 31 32 //Java imports 6 33 import java.util.HashSet; 7 34 import java.util.Iterator; 8 35 import java.util.Set; 9 36 37 import org.apache.commons.logging.Log; 38 import org.apache.commons.logging.LogFactory; 39 40 //Third-party libraries 41 42 //Application-internal dependencies 10 43 import org.openmicroscopy.omero.model.Category; 11 44 import org.openmicroscopy.omero.model.CategoryGroup; … … 17 50 import org.openmicroscopy.omero.tests.OMEPerformanceData; 18 51 19 /** 20 * @author josh 52 /** Tests calls through to the database, using all necessary layers. Specifics 53 * are available in abstract super class. 54 * 55 * @author Josh Moore 56 * <a href="mailto:josh.moore@gmx.de">josh.moore@gmx.de</a> 57 * @version 1.0 58 * <small> 59 * (<b>Internal version:</b> $Rev$ $Date$) 60 * </small> 61 * @since 1.0 62 * @see org.openmicroscopy.omero.tests.AbstractOmeroHierarchyBrowserIntegrationTest 21 63 */ 22 64 public class OmeroHierarchyBrowsingIntegrationTest … … 28 70 */ 29 71 protected String[] getConfigLocations() { 30 return new String[]{"org/openmicroscopy/omero/client/spring.xml"}; 72 return new String[]{"org/openmicroscopy/omero/client/spring.xml", 73 "org/openmicroscopy/omero/client/itests/test.xml"}; 31 74 } 32 75 … … 38 81 super("Omero Integration Test with Data",data); 39 82 } 40 41 public void testContainerCallWithWrongParameters(){42 try {43 getHb().loadPDIHierarchy(Object.class,1);44 fail("loadPDIHierarchy(class,int) didn't choke on bad class.");45 } catch (IllegalArgumentException iae){46 // We should get here. TODO log47 }48 49 try {50 getHb().loadCGCIHierarchy(Object.class,1);51 fail("loadCGCIHierarchy(class,int) didn't choke on bad class.");52 } catch (IllegalArgumentException iae){53 // We should get here. TODO log54 }55 56 }57 58 String nullObj = "This should get us nothing.";59 String emptyColl = "This collection should be empty.";60 String nonNull = "We should get something back";61 62 public void testNulls(){63 // Each method should return a null or an empty set as appropriate64 //TODO getHb().findCGCIHierarchies( );65 //TODO generate OMENullData(); and use it here.66 //TODO OMEData toString();67 68 Set test = new HashSet();69 test.add(new Integer(0)); // Non-existence set of ids70 int nonExp = 0; // Non-existence experimenter ID71 //72 assertTrue(emptyColl,getHb().findDatasetAnnotations(test).size()==0);73 assertTrue(emptyColl,getHb().findDatasetAnnotations(new HashSet()).size()==0);74 //75 assertTrue(emptyColl,getHb().findDatasetAnnotationsForExperimenter(test,nonExp).size()==0);76 assertTrue(emptyColl,getHb().findDatasetAnnotationsForExperimenter(new HashSet(),nonExp).size()==0);77 //78 assertTrue(emptyColl,getHb().findImageAnnotations(test).size()==0);79 assertTrue(emptyColl,getHb().findImageAnnotations(new HashSet()).size()==0);80 //81 assertTrue(emptyColl,getHb().findImageAnnotationsForExperimenter(test,nonExp).size()==0);82 assertTrue(emptyColl,getHb().findImageAnnotationsForExperimenter(new HashSet(),nonExp).size()==0);83 //84 assertTrue(emptyColl,getHb().findPDIHierarchies(test).size()==0);85 assertTrue(emptyColl,getHb().findPDIHierarchies(new HashSet()).size()==0);86 //87 assertNull(nullObj,getHb().loadCGCIHierarchy(CategoryGroup.class, 0));88 assertNull(nullObj,getHb().loadCGCIHierarchy(Category.class, 0));89 //90 assertNull(nullObj,getHb().loadPDIHierarchy(Project.class, 0));91 assertNull(nullObj,getHb().loadPDIHierarchy(Dataset.class, 0));92 }93 94 public void testContainedImages(){95 // Something96 Set result = (Set) testFindPDIHierarchies();97 assertTrue(nonNull, result != null && result.size() != 0);98 // Not to much99 Set test = new HashSet();100 Iterator i = result.iterator();101 while (i.hasNext()){102 Object o = i.next();103 if (o instanceof Image) {104 test.add(o);105 } else if (o instanceof Dataset) {106 Dataset dd = (Dataset) o;107 test.addAll(dd.getImages());108 } else if (o instanceof Project) {109 Project pd = (Project) o;110 Iterator p = pd.getDatasets().iterator();111 while (p.hasNext()){112 Dataset dd = (Dataset) p.next();113 test.addAll(dd.getImages());114 }115 }116 }117 assertTrue("There should only be as many images as in the data.imagesPDI", test.size() == this.getData().imgsPDI.size());118 // TODO Make sure joins aren't leaving anything out because of empties!119 }120 121 83 122 84 } -
branches/omero/components/client/test/org/openmicroscopy/omero/client/itests/test.xml
r102 r104 1 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- 3 #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 # 5 # Copyright (C) 2003 Open Microscopy Environment 6 # Massachusetts Institue of Technology, 7 # National Institutes of Health, 8 # University of Dundee 9 # 10 # 11 # 12 # This library is free software; you can redistribute it and/or 13 # modify it under the terms of the GNU Lesser General Public 14 # License as published by the Free Software Foundation; either 15 # version 2.1 of the License, or (at your option) any later version. 16 # 17 # This library is distributed in the hope that it will be useful, 18 # but WITHOUT ANY WARRANTY; without even the implied warranty of 19 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 20 # Lesser General Public License for more details. 21 # 22 # You should have received a copy of the GNU Lesser General Public 23 # License along with this library; if not, write to the Free Software 24 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 25 # 26 #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 27 --> 28 29 <!-- 30 #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 # Written by: Josh Moore <josh.moore@gmx.de> 32 #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 33 --> 34 35 <!-- 36 37 Test configuration for the client side. The dataSource is necessary 38 so that data can query for existing values. 39 40 --> 2 41 <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"> 3 42 -
branches/omero/components/common/.classpath
r100 r104 16 16 <classpathentry kind="var" path="MAVEN_REPO/commons-lang/jars/commons-lang-2.0.jar"> 17 17 </classpathentry> 18 <classpathentry kind="var" path="MAVEN_REPO/commons-logging/jars/commons-logging-1.0.4.jar"> 19 </classpathentry> 18 20 <classpathentry kind="var" path="MAVEN_REPO/postgresql/jars/postgresql-7.4.1-jdbc3.jar"> 19 21 </classpathentry> -
branches/omero/components/common/project.xml
r100 r104 36 36 </dependency> 37 37 <dependency> 38 <groupId>commons-logging</groupId> 39 <artifactId>commons-logging</artifactId> 40 <version>1.0.4</version> 41 </dependency> 42 <dependency> 38 43 <groupId>postgresql</groupId> 39 44 <artifactId>postgresql</artifactId> -
branches/omero/components/common/src/org/openmicroscopy/omero/interfaces/HierarchyBrowsing.java
r95 r104 57 57 * </small> 58 58 * @since OME2.2 59 * @DEV.TODO Possibly change these methods to return an abstract super type 60 * @DEV.TODO or even a concretefor these or concrete type like "Project loadPDIHierary()" 61 * @DEV.TODO Update code generation for Hibernate to include copyright. 59 62 */ 60 63 public interface HierarchyBrowsing … … 64 67 * Loads a Project/Dataset/Image (P/D/I) hierarchy rooted by a given node. 65 68 * <p>The root node can be either Project or Dataset. A Project tree will 66 * be represented by {@link Project Data}, {@link DatasetData}, and67 * {@link Image Data} objects. A Dataset tree will only have objects of69 * be represented by {@link Project}, {@link Dataset}, and 70 * {@link Image} objects. A Dataset tree will only have objects of 68 71 * the latter two types.</p> 69 72 * <p>This method also retrieves the Experimenters linked to the objects 70 73 * in the tree — an Experimenter is represented by an 71 * {@link Experimenter Data} object. Similarly, all Images will be linked72 * to their Pixels — represented by {@link Pixels Data} objects.</p>74 * {@link Experimenter} object. Similarly, all Images will be linked 75 * to their Pixels — represented by {@link Pixels} objects.</p> 73 76 * <p>Note that objects are never duplicated. For example, if an 74 77 * Experimenter owns all the objects in the retrieved tree, then those 75 78 * objects will be linked to the <i>same</i> instance of 76 * {@link Experimenter Data}. Or if an Image is contained in more than77 * one Dataset in the retrieved tree, then all enclosing {@link Dataset Data}78 * objects will point to the <i>same</i> {@link Image Data} object. And so79 * {@link Experimenter}. Or if an Image is contained in more than 80 * one Dataset in the retrieved tree, then all enclosing {@link Dataset} 81 * objects will point to the <i>same</i> {@link Image} object. And so 79 82 * on.</p> 80 83 * 81 84 * @param rootNodeType The type of the root node. Can either be 82 * {@link Project Data} or {@link DatasetData}.85 * {@link Project} or {@link Dataset}. 83 86 * @param rootNodeID The id of the root node. 84 87 * @return The requested node as root and all of its descendants. The type … … 86 89 */ 87 90 public Object loadPDIHierarchy(Class rootNodeType, int rootNodeID); 88 // TODO Super Object for these or concrete "Project loadPDIHierary() / Dataset loadDIHierarchy()"???89 91 90 92 /** … … 92 94 * given node. 93 95 * <p>The root node can be either Category Group or Category. A Category 94 * Group tree will be represented by {@link CategoryGroup Data},95 * {@link Category Data}, and {@link ImageData} objects. A Category tree96 * Group tree will be represented by {@link CategoryGroup}, 97 * {@link Category}, and {@link Image} objects. A Category tree 96 98 * will only have objects of the latter two types.</p> 97 99 * <p>This method also retrieves the Experimenters linked to the objects 98 100 * in the tree — an Experimenter is represented by an 99 * {@link Experimenter Data} object. Similarly, all Images will be linked100 * to their Pixels — represented by {@link Pixels Data} objects.</p>101 * {@link Experimenter} object. Similarly, all Images will be linked 102 * to their Pixels — represented by {@link Pixels} objects.</p> 101 103 * <p>Note that objects are never duplicated. For example, if an 102 104 * Experimenter owns all the objects in the retrieved tree, then those 103 105 * objects will be linked to the <i>same</i> instance of 104 * {@link Experimenter Data}.</p>106 * {@link Experimenter}.</p> 105 107 * 106 108 * @param rootNodeType The type of the root node. Can either be 107 * {@link CategoryGroup Data} or {@link CategoryData}.109 * {@link CategoryGroup} or {@link Category}. 108 110 * @param rootNodeID The id of the root node. 109 111 * @return The requested node as root and all of its descendants. The type … … 117 119 * <p>This method will look for all the Datasets containing the specified 118 120 * Images and then for all Projects containing those Datasets. In the 119 * returned trees, Projects will be represented by {@link Project Data}120 * objects, Datasets by {@link Dataset Data} objects, and Images by121 * {@link Image Data} objects.</p>121 * returned trees, Projects will be represented by {@link Project} 122 * objects, Datasets by {@link Dataset} objects, and Images by 123 * {@link Image} objects.</p> 122 124 * <p>This method returns a <code>Set</code> with all root nodes that were 123 125 * found. Every root node is linked to the found objects and so on until 124 * the leaf nodes, which are {@link Image Data} objects. Note that the type125 * of any root node in the returned set can be {@link Project Data},126 * {@link Dataset Data}, or {@link ImageData}.</p>126 * the leaf nodes, which are {@link Image} objects. Note that the type 127 * of any root node in the returned set can be {@link Project}, 128 * {@link Dataset}, or {@link Image}.</p> 127 129 * <p>For example, say that you pass in the ids of six Images: <code>i1, i2, 128 130 * i3, i4, i5, i6</code>. If the P/D/I hierarchy in the DB looks like this: … … 175 177 * Image. If no annotations were found for that Image, then the entry 176 178 * will be <code>null</code>. Otherwise it will be a <code>Set</code> 177 * containing {@link Annotation Data} objects.179 * containing {@link Annotation} objects. 178 180 * 179 181 * @param imgIDs Contains the ids of the Images. … … 192 194 * Image. If no annotations were found for that Image, then the entry 193 195 * will be <code>null</code>. Otherwise it will be a <code>Set</code> 194 * containing {@link Annotation Data} objects.196 * containing {@link Annotation} objects. 195 197 * 196 198 * @param imgIDs Contains the ids of the Images. … … 210 212 * Dataset. If no annotations were found for that Dataset, then the 211 213 * entry will be <code>null</code>. Otherwise it will be a <code>Set 212 * </code> containing {@link Annotation Data} objects.214 * </code> containing {@link Annotation} objects. 213 215 * 214 216 * @param datasetIDs Contains the ids of the Datasets. … … 227 229 * Dataset. If no annotations were found for that Image, then the entry 228 230 * will be <code>null</code>. Otherwise it will be a <code>Set</code> 229 * containing {@link Annotation Data} objects.231 * containing {@link Annotation} objects. 230 232 * 231 233 * @param datasetIDs Contains the ids of the Datasets. -
branches/omero/components/common/src/org/openmicroscopy/omero/model2/Category2.java
r83 r104 1 1 /* 2 * Created on May 31, 2005 3 */ 2 * org.openmicroscopy.omero.model2 3 * 4 *------------------------------------------------------------------------------ 5 * 6 * Copyright (C) 2004 Open Microscopy Environment 7 * Massachusetts Institute of Technology, 8 * National Institutes of Health, 9 * University of Dundee 10 * 11 * 12 * 13 * This library is free software; you can redistribute it and/or 14 * modify it under the terms of the GNU Lesser General Public 15 * License as published by the Free Software Foundation; either 16 * version 2.1 of the License, or (at your option) any later version. 17 * 18 * This library is distributed in the hope that it will be useful, 19 * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 * Lesser General Public License for more details. 22 * 23 * You should have received a copy of the GNU Lesser General Public 24 * License along with th
