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

Last change on this file since 162 was 162, checked in by duh, 13 years ago
  • set keyword expansion
  • Property svn:keywords set to
    Date
    Author
    Rev
File size: 583 bytes
RevLine 
[106]1package dbnp.data
[77]2
[106]3import dbnp.data.Ontology
4
[84]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.
[145]9 *
10 * Revision information:
11 * $Rev: 162 $
12 * $Author: duh $
13 * $Date: 2010-02-02 14:07:02 +0000 (di, 02 feb 2010) $
[84]14 */
[145]15class Term implements Serializable {
16        static searchable = true
17        String name
18        Ontology ontology
19        String accession
[77]20
[145]21        static constraints = {
22        }
[77]23
[145]24        def String toString() {
25                return name
26        }
[77]27}
Note: See TracBrowser for help on using the repository browser.