Changeset 651


Ignore:
Timestamp:
Jul 15, 2010, 8:19:52 AM (7 years ago)
Author:
jahn
Message:

Added externalSampleId for SAM communication.

File:
1 edited

Legend:

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

    r643 r651  
    1313        SamplingEvent parentEvent
    1414
    15         String name             // should be unique with respect to the parent study (which can be inferred)
    16         Term material   // a member that describes the quantity of the sample? --> should be in the templates
     15        String name                     // should be unique with respect to the parent study (which can be inferred)
     16        Term material           // a member that describes the quantity of the sample? --> should be in the templates
     17        String externalSampleId // should be unique with respect to the parent study (which can be inferred)
    1718
    1819        /**
     
    3536        static constraints = {
    3637                parentSubject(nullable:true)
     38                externalSampleId(nullable:true)
    3739        }
    3840
     
    4042                return  Sample.findAll( 'from Sample s where s.parentEvent =:event', [event:event] )
    4143        }
     44
    4245}
Note: See TracChangeset for help on using the changeset viewer.