Changeset 349 for trunk/grails-app/domain
- Timestamp:
- Apr 19, 2010, 1:05:48 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/dbnp/studycapturing/TemplateField.groovy
r348 r349 1 1 package dbnp.studycapturing 2 3 import dbnp.data.Ontology 2 4 3 5 /** … … 14 16 String unit 15 17 String comment // help string for the user interface 18 List listEntries 16 19 17 List listEntries 18 static hasMany = [listEntries : TemplateFieldListItem,19 // to store the entries to choose from when the type is 'item from predefined list'20 ontologies : Ontology // to store the ontologies to choose from when the type is 'ontology term'21 ] 20 static hasMany = [listEntries : TemplateFieldListItem, 21 // to store the entries to choose from when the type is 'item from predefined list' 22 ontologies : Ontology // to store the ontologies to choose from when the type is 'ontology term' 23 ] 24 22 25 static constraints = { 23 26 name(unique: true)
Note: See TracChangeset
for help on using the changeset viewer.