class Repository { String baseDir Date scanStartDate Date scanEndDate static hasMany = [rasterDataSets: RasterDataSet, videoDataSets: VideoDataSet] /* public String toString() { return [ baseDir:baseDir ] as String } */ static constraints = { baseDir() scanStartDate(nullable: true) scanEndDate(nullable: true) rasterDataSets() videoDataSets() } }