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

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

added first version of clean data layer specification and clinical data module

File size: 496 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
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.