source: trunk/grails-app/domain/dbnp/studycapturing/Compound.groovy @ 397

Last change on this file since 397 was 397, checked in by duh, 10 years ago
  • reformatted source code
  • added mega huge big ASCII comments to UNDOCUMMENTED of not properly DOCUMENTED classess... we have agreed many many MANY times that everyone should document their code according to JavaDoc? style... but why does nobody do it, or just keep SLACKING! /annoyed modus
  • Property svn:keywords set to Date Author Rev
File size: 2.3 KB
Line 
1package dbnp.studycapturing
2
3import dbnp.data.Term
4/**
5 * 888       888 888    888 8888888888 8888888b.  8888888888
6 * 888   o   888 888    888 888        888   Y88b 888
7 * 888  d8b  888 888    888 888        888    888 888
8 * 888 d888b 888 8888888888 8888888    888   d88P 8888888
9 * 888d88888b888 888    888 888        8888888P"  888
10 * 88888P Y88888 888    888 888        888 T88b   888
11 * 8888P   Y8888 888    888 888        888  T88b  888
12 * 888P     Y888 888    888 8888888888 888   T88b 8888888888
13 *
14 * 8888888 .d8888b.     88888888888 888    888 8888888888
15 *   888  d88P  Y88b        888     888    888 888
16 *   888  Y88b.             888     888    888 888
17 *   888   "Y888b.          888     8888888888 8888888
18 *   888      "Y88b.        888     888    888 888
19 *   888        "888        888     888    888 888
20 *   888  Y88b  d88P        888     888    888 888
21 * 8888888 "Y8888P"         888     888    888 8888888888
22 *
23 *   888888        d8888 888     888     d8888 8888888b.   .d88888b.   .d8888b.
24 *     "88b       d88888 888     888    d88888 888  "Y88b d88P" "Y88b d88P  Y88b
25 *      888      d88P888 888     888   d88P888 888    888 888     888 888    888
26 *      888     d88P 888 Y88b   d88P  d88P 888 888    888 888     888 888
27 *      888    d88P  888  Y88b d88P  d88P  888 888    888 888     888 888
28 *      888   d88P   888   Y88o88P  d88P   888 888    888 888     888 888    888
29 *      88P  d8888888888    Y888P  d8888888888 888  .d88P Y88b. .d88P Y88b  d88P
30 *      888 d88P     888     Y8P  d88P     888 8888888P"   "Y88888P"   "Y8888P"
31 *    .d88P
32 *  .d88P"
33 * 888P"
34 *
35 *  .d8888b.  888  .d8888b.  888  .d8888b.  888
36 * d88P  Y88b 888 d88P  Y88b 888 d88P  Y88b 888
37 *      .d88P 888      .d88P 888      .d88P 888
38 *    .d88P"  888    .d88P"  888    .d88P"  888
39 *    888"    888    888"    888    888"    888
40 *    888     Y8P    888     Y8P    888     Y8P
41 *             "              "              "
42 *    888     888    888     888    888     888
43 *
44 *
45 * TODO: add PROPER class and method documentation, just like have
46 *       agreed upon hundreds of times!!!!
47 */
48class Compound {
49
50    String name
51    Term compound
52    float dose
53    String doseUnit
54    boolean isCarrier
55
56    static constraints = {
57        compound(nullable:true)
58        dose(nullable:true)
59        doseUnit(nullable:true,blank:true)
60    }
61}
Note: See TracBrowser for help on using the repository browser.