Ignore:
Timestamp:
May 11, 2010, 4:41:05 PM (7 years ago)
Author:
keesvb
Message:

reverted changes which removed domain fields from the domain classes, we are now back again at more or less the situation of #394, added preferredIdentifier property to TemplateField? to facilitate simple import

File:
1 edited

Legend:

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

    r397 r408  
    1212        static searchable = true
    1313        nimble.User owner
     14        String title
    1415        Date dateCreated
    1516        Date lastUpdated
     17        Date startDate
    1618
    1719        /**
     
    4547        static constraints = {
    4648                owner(nullable: true, blank: true)
    47                 template(nullable: false, blank: false)
    4849        }
    4950
     
    5859         */
    5960        def String toString() {
    60                 //return title;
    61                 def title = this.giveDomainFields().find { it.name == 'title' }
    62 
    63                 return title.toString()
     61                return title;
    6462        }
    6563
Note: See TracChangeset for help on using the changeset viewer.