Ignore:
Timestamp:
Feb 3, 2011, 4:46:41 PM (12 years ago)
Author:
work@…
Message:
  • moved biological parts of gdt into a sub-plugin bgdt (biological grails domain templates) which extends gdt
  • refactored dynamic validators in gdt
  • installed bgdt 0.0.2
  • installed gdt 0.0.8
Location:
trunk/grails-app/domain/dbnp/studycapturing
Files:
3 edited

Legend:

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

    r1482 r1488  
    11package dbnp.studycapturing
    22import org.dbnp.gdt.*
     3import org.dbnp.bgdt.*
    34
    45/**
  • trunk/grails-app/domain/dbnp/studycapturing/Study.groovy

    r1482 r1488  
    5353
    5454        static constraints = {
     55                title(nullable:false, blank: false, maxSize: 255)
    5556                owner(nullable: true, blank: true)
    56                 code(nullable: false, blank: true, unique: true)
    57                 studyUUID(nullable:true, unique:true)
     57                code(nullable: false, blank: true, unique: true, maxSize: 255)
     58                studyUUID(nullable:true, unique:true, maxSize: 255)
    5859                // TODO: add custom validator for 'published' to assess whether the study meets all quality criteria for publication
    5960                // tested by SampleTests.testStudyPublish
  • trunk/grails-app/domain/dbnp/studycapturing/Subject.groovy

    r1457 r1488  
    11package dbnp.studycapturing
    22import org.dbnp.gdt.*
     3import org.dbnp.bgdt.*
    34
    45/**
Note: See TracChangeset for help on using the changeset viewer.