Changeset 1013 for trunk/grails-app/domain
- Timestamp:
- Oct 28, 2010, 8:05:27 PM (10 years ago)
- Location:
- trunk/grails-app/domain/dbnp
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/dbnp/data/Ontology.groovy
r959 r1013 19 19 int ncboId // BioPortal: ontologyId 20 20 int ncboVersionedId // BioPortal: id 21 22 static constraints = { 23 ncboId(unique: true) // For now, we just want one version of each NCBO ontology in the database 24 } 21 25 22 26 /** -
trunk/grails-app/domain/dbnp/studycapturing/Event.groovy
r959 r1013 12 12 */ 13 13 class Event extends TemplateEntity { 14 15 static searchable = true 14 16 15 17 static belongsTo = [parent : Study] -
trunk/grails-app/domain/dbnp/studycapturing/Study.groovy
r996 r1013 12 12 */ 13 13 class Study extends TemplateEntity { 14 static searchable = { 15 [only: ['title', 'Description']] // the description field will be searched only if defined in a study template 16 } 14 static searchable = true 17 15 18 16 SecUser owner // The owner of the study. A new study is automatically owned by its creator.
Note: See TracChangeset
for help on using the changeset viewer.