Show
Ignore:
Timestamp:
11-05-10 16:41:05 (4 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

Files:
1 modified

Legend:

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

    r397 r408  
    1212        SamplingEvent parentEvent 
    1313 
    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 
     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 
    1616 
    1717        /** 
     
    2323                        new TemplateField( 
    2424                                name: 'name', 
    25                                 type: TemplateFieldType.STRING), 
     25                                type: TemplateFieldType.STRING, 
     26                                preferredIdentifier: true), 
    2627                        new TemplateField( 
    2728                                name: 'material',