Ignore:
Timestamp:
May 7, 2010, 2:53:11 PM (9 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/TemplateEntity.groovy

    r396 r397  
    376376
    377377        /**
    378         * Return all fields defined in the underlying template and the built-in
    379         * domain fields of this entity
    380         */
     378         * Return all fields defined in the underlying template and the built-in
     379     * domain fields of this entity
     380         */
    381381        def List<TemplateField> giveFields() {
    382382                return this.giveDomainFields() + this.giveTemplateFields();
     
    384384
    385385        /**
    386         * Return all templated fields defined in the underlying template of this entity
    387         */
     386         * Return all templated fields defined in the underlying template of this entity
     387         */
    388388        def List<TemplateField> giveTemplateFields() {
    389389                return this.template.fields;
     
    393393         * Return all relevant 'built-in' domain fields of the super class
    394394         * @return List with DomainTemplateFields
    395          * @see TemplateField
     395     * @see TemplateField
    396396         */
    397397        abstract List<TemplateField> giveDomainFields()
    398398
    399         /*def giveDomainFields() {
    400                 def fieldSet = [:];
    401                 if (super.hasProperty('name')) {
    402                         fieldSet['name'] = TemplateFieldType.STRING;
    403                 }
    404                 return fieldSet;
    405         }*/
    406 
    407         // See revision 237 for ideas about initializing the different templateField Maps
    408         // with tailored Maps that already contain the neccessary keys
    409399        /**
    410400         * Convenience method. Returns all unique templates used within a collection of TemplateEntities.
Note: See TracChangeset for help on using the changeset viewer.