source: trunk/grails-app/domain/dbnp/data/Term.groovy @ 139

Last change on this file since 139 was 139, checked in by keesvb, 10 years ago

changed domain model for events and protocol parameters, and for template field storage, added NuGO PPS3 events, added searchable plugin for full text queries, corrected a few HTML errors in create study

File size: 524 bytes
Line 
1package dbnp.data
2
3import dbnp.data.Ontology
4
5/**
6 * The Term object describes a term in the ontology that is referred to in other entities such as events.
7 * The Term object should point to an existing term in an online ontology, therefore instances of this class can also
8 * be seen as a cache of elements of the external ontology.
9 */
10class Term {
11    static searchable = true
12    String name
13    Ontology ontology
14    String accession
15
16    static constraints = {
17    }
18
19  def String toString() {
20    return name
21  }
22
23
24}
Note: See TracBrowser for help on using the repository browser.