Changeset 136 for trunk/grails-app/domain
- Timestamp:
- Jan 26, 2010, 10:48:51 AM (13 years ago)
- Location:
- trunk/grails-app/domain/dbnp/studycapturing
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/dbnp/studycapturing/Study.groovy
r106 r136 9 9 * $Date$ 10 10 */ 11 class Study implements Serializable{11 class Study { 12 12 nimble.User owner 13 13 String title … … 38 38 researchQuestion type: 'text' 39 39 description type: 'text' 40 autoTimestamp true 40 41 } 41 42 -
trunk/grails-app/domain/dbnp/studycapturing/Subject.groovy
r106 r136 8 8 class Subject { 9 9 10 String name 11 Term species 10 String name 11 Term species 12 Map templateStringFields 13 Map templateNumberFields 14 Map templateStringListFields 15 Map templateTermFields 12 16 13 static constraints = { 14 } 17 static hasMany = [ 18 templateStringFields : String, 19 templateNumberFields : float, 20 templateStringListFields : String, 21 templateTermFields : Term 22 ] 23 24 static constraints = { 25 } 15 26 } -
trunk/grails-app/domain/dbnp/studycapturing/TemplateField.groovy
r92 r136 7 7 String name 8 8 TemplateFieldType type 9 String unit 9 10 10 11 static constraints = { 12 name(unique:true) 13 unit(nullable:true, blank:true) 11 14 } 12 15
Note: See TracChangeset
for help on using the changeset viewer.