Ignore:
Timestamp:
May 7, 2010, 2:53:11 PM (7 years ago)
Author:
duh
Message:
  • 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
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/domain/dbnp/studycapturing/Sample.groovy

    r394 r397  
    99class Sample extends TemplateEntity {
    1010        static searchable = true
    11 
    1211        Subject parentSubject
    1312        SamplingEvent parentEvent
    1413
    15         String name      // should be unique with respect to the parent study (which can be inferred)
    16         Term material
    17         // a member that describes the quantity of the sample? --> should be in the templates
     14        //String name   // should be unique with respect to the parent study (which can be inferred)
     15        //Term material // a member that describes the quantity of the sample? --> should be in the templates
    1816
     17        /**
     18         * return the domain fields for this domain class
     19         * @return List
     20         */
    1921        List<TemplateField> giveDomainFields() {
    20                 [ new TemplateField(
    21                             name: 'name',
    22                             type: TemplateFieldType.STRING),
    23                         new TemplateField(
    24                             name: 'material',
    25                             type: TemplateFieldType.ONTOLOGYTERM,
    26                             ontologies: [Ontology.findByNcboId(1005)])
    27                 ];
     22                [
     23                        new TemplateField(
     24                                name: 'name',
     25                                type: TemplateFieldType.STRING),
     26                        new TemplateField(
     27                                name: 'material',
     28                                type: TemplateFieldType.ONTOLOGYTERM,
     29                                ontologies: [Ontology.findByNcboId(1005)])
     30                ]
    2831        }
    2932
Note: See TracChangeset for help on using the changeset viewer.