Changes between Initial Version and Version 1 of Ticket #525, comment 22


Ignore:
Timestamp:
Apr 11, 2016, 4:59:02 PM (9 years ago)
Author:
olle

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #525, comment 22

    initial v1  
    55Allowing all INCA annotations for a single case to be committed in the same sub-step, requires collecting INCA data for a case from all input INCA files. In order to make the code more readable, this should be done using a number of inner help classes of the data access object type.
    66
     7 1. Java servlet class/file `IncaServlet.java` in `src/net/sf/basedb/reggie/servlet/` updated in protected method `void doPost(HttpServletRequest req, HttpServletResponse resp)` for command "`ImportInca`":[[BR]]a. A new hash map created for storing annotation type for given annotation type ID.[[BR]]b. Code is re-written to collect INCA annotations for a given case from all input INCA files, before import is performed. The import is then performed, one case at a time. In order to make the code more readable, use is made of new inner help classes `UnprocessedIncaFile`, `IncaFile`, `RawIncaCase`, `IncaCase`, and `IncaAnnoItem`.