Changeset 348


Ignore:
Timestamp:
Apr 19, 2010, 12:01:09 PM (14 years ago)
Author:
keesvb
Message:

added ontology list for ontology template fields

File:
1 edited

Legend:

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

    r339 r348  
    1616
    1717        List listEntries
    18         static hasMany = [listEntries : TemplateFieldListItem] // to store the entries to choose from when the type is 'item from predefined list'
    19 
     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]
    2022        static constraints = {
    2123                name(unique: true)
Note: See TracChangeset for help on using the changeset viewer.