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

Last change on this file since 138 was 138, checked in by duh, 13 years ago
  • added development version of wizard subjects page and logic
  • modified some domain classes (again, who reverted them?) to implement Serializable
File size: 557 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 *
10 * Revision information:
11 * $Rev$
12 * $Author$
13 * $Date$
14 */
15class Term implements Serializable {
16        String name
17        Ontology ontology
18        String accession
19
20        static constraints = {
21        }
22
23        def String toString() {
24                return name
25        }
26}
Note: See TracBrowser for help on using the repository browser.