Changeset 81


Ignore:
Timestamp:
Jan 11, 2010, 10:33:01 AM (14 years ago)
Author:
keesvb
Message:

updated domain classes: added event description, sample and assay

Location:
trunk
Files:
9 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/domain/dbnp/studycapturing/Event.groovy

    r80 r81  
    33class Event {
    44
    5     String name
     5    Subject subject
     6    EventDescription eventDescription
    67    Date startTime
    78    Date endTime
    8     Term classification
    9     ProtocolInstance protocol
    10 
    11     static hasMany = [subjects: Subject]
    129
    1310    static constraints = {
  • trunk/grails-app/domain/dbnp/studycapturing/ProtocolInstance.groovy

    r80 r81  
    55    Protocol protocol
    66
    7     static hasMany = [stringParameters : String, numberParameters : double, listParameters: long]
     7    // TODO: check how the values can be indexed so that they can be mapped to their respective parameters (should we should use maps here?)
     8    static hasMany = [stringParameterValues : String, numberParameterValues : double, listParameterValues: long]
    89
    910    static constraints = {
  • trunk/tests/create_protocol_parameter

    r80 r81  
    44<head profile="http://selenium-ide.openqa.org/profiles/test-case">
    55<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    6 <link rel="selenium.base" href="" />
    7 <title>add protocol</title>
     6<link rel="selenium.base" href="http://localhost:8080/" />
     7<title>create_protocol_parameter</title>
    88</head>
    99<body>
    1010<table cellpadding="1" cellspacing="1" border="1">
    1111<thead>
    12 <tr><td rowspan="1" colspan="3">add protocol</td></tr>
     12<tr><td rowspan="1" colspan="3">create_protocol_parameter</td></tr>
    1313</thead><tbody>
    1414<tr>
     
    6868</tr>
    6969<tr>
    70         <td>click</td>
     70        <td>clickAndWait</td>
    7171        <td>create</td>
    7272        <td></td>
     
    138138</tr>
    139139<tr>
    140         <td>click</td>
     140        <td>clickAndWait</td>
    141141        <td>link=New ProtocolParameter</td>
    142142        <td></td>
     
    155155        <td>type</td>
    156156        <td>description</td>
    157         <td>    ebi.ac.uk:MAGETabulator:P-MTAB-3518.diet.Parameter</td>
     157        <td>ebi.ac.uk:MAGETabulator:P-MTAB-3518.diet.Parameter</td>
    158158</tr>
    159159<tr>
Note: See TracChangeset for help on using the changeset viewer.