コード例 #1
0
 /* (non-Javadoc)
  * @see uk.ac.ucl.excites.sapelli.collector.database.IDataAccess#retrieveV1Project(int, int)
  */
 @Override
 public Project retrieveV1Project(final int schemaID, final int schemaVersion) {
   updateProjectCache(); // will also call initProjectCache()
   for (Project project : projectCache)
     if (project.isV1xProject()
         && project.getID() == schemaID
         && project.getV1XSchemaVersion() == schemaVersion) return project;
   return null;
 }