Changeset 1325


Ignore:
Timestamp:
Mar 22, 2011, 1:41:55 PM (11 years ago)
Author:
Nicklas Nordborg
Message:

References #302: Update functionality in the Personal information registration

Added SamplingDateTime and RNALaterDateTime to installation servlet.

Location:
extensions/net.sf.basedb.reggie/trunk/src/net/sf/basedb/reggie
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/net.sf.basedb.reggie/trunk/src/net/sf/basedb/reggie/Reggie.java

    r1324 r1325  
    9090  public static final String ANNOTATION_PAD_CASE = "PADcase";
    9191
    92  
     92  /**
     93    The name of the "SamplingDateTime" annotation type, used
     94    for samples (Specimen tube). It is a timestamp annotation.
     95  */
     96  public static final String ANNOTATION_SAMPLING_DATETIME = "SamplingDateTime";
     97
     98  /**
     99    The name of the "RNALaterDateTime" annotation type, used
     100    for samples (Specimen tube). It is a timestamp annotation.
     101  */
     102  public static final String ANNOTATION_RNALATER_DATETIME = "RNALaterDateTime";
     103
    93104  /**
    94105    The name of the "PatientCurator" group. Members of this group
  • extensions/net.sf.basedb.reggie/trunk/src/net/sf/basedb/reggie/servlet/InstallServlet.java

    r1312 r1325  
    117117        jsonChecks.add(checkAnnotationType(dc, Reggie.ANNOTATION_PAD_CASE, Item.SAMPLE, Type.STRING, 0,
    118118            null, effectiveOptions, createIfMissing));
     119        jsonChecks.add(checkAnnotationType(dc, Reggie.ANNOTATION_SAMPLING_DATETIME, Item.SAMPLE, Type.TIMESTAMP, 1,
     120            null, effectiveOptions, createIfMissing));
     121        jsonChecks.add(checkAnnotationType(dc, Reggie.ANNOTATION_RNALATER_DATETIME, Item.SAMPLE, Type.TIMESTAMP, 1,
     122            null, effectiveOptions, createIfMissing));
    119123       
    120124        json.put("checks", jsonChecks);
Note: See TracChangeset for help on using the changeset viewer.