Changeset 506


Ignore:
Timestamp:
Jun 1, 2010, 1:09:06 PM (9 years ago)
Author:
keesvb
Message:

changed giveDomainFields() implementations in TemplateEntity? to static

Location:
trunk/grails-app/domain/dbnp/studycapturing
Files:
5 edited

Legend:

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

    r497 r506  
    4343         * @return List
    4444         */
    45         List<TemplateField> giveDomainFields() { return Event.domainFields }
     45        static List<TemplateField> giveDomainFields() { return Event.domainFields }
    4646        static final List<TemplateField> domainFields =
    4747                [
  • trunk/grails-app/domain/dbnp/studycapturing/Sample.groovy

    r496 r506  
    1919         * @return List
    2020         */
    21         List<TemplateField> giveDomainFields() { return Sample.domainFields }
     21        static List<TemplateField> giveDomainFields() { return Sample.domainFields }
    2222        static List<TemplateField> domainFields =
    2323                [
  • trunk/grails-app/domain/dbnp/studycapturing/Study.groovy

    r496 r506  
    2121         * @return List
    2222         */
    23         List<TemplateField> giveDomainFields() { return Study.domainFields }
     23        static List<TemplateField> giveDomainFields() { return Study.domainFields }
    2424
    2525        static final List<TemplateField> domainFields =
  • trunk/grails-app/domain/dbnp/studycapturing/Subject.groovy

    r496 r506  
    2121         * @return List
    2222         */
    23         List<TemplateField> giveDomainFields() { return Subject.domainFields; }
     23        static List<TemplateField> giveDomainFields() { return Subject.domainFields; }
    2424
    2525        static List<TemplateField> domainFields =
  • trunk/grails-app/domain/dbnp/studycapturing/TemplateEntity.groovy

    r500 r506  
    475475
    476476        /**
    477          * Return all relevant 'built-in' domain fields of the super class
     477         * Return all relevant 'built-in' domain fields of the super class. Should be implemented by a static method
    478478         * @return List with DomainTemplateFields
    479479         * @see TemplateField
Note: See TracChangeset for help on using the changeset viewer.