Show
Ignore:
Timestamp:
02/08/11 23:00:27 (3 years ago)
Author:
gav
Message:

Svn merge -r752:r797 branches/features/taskProcedureRework into trunk/.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/domain/MaintenanceAction.groovy

    r268 r798  
    88 
    99    String description 
    10     String reasoning = "" 
     10    String pageRef = "" 
    1111    Integer procedureStepNumber 
    12     boolean isActive = true 
     12 
     13    Boolean toBeDeleted 
     14    Boolean isNew 
     15    static transients = [ 'toBeDeleted', 'isNew' ] 
    1316 
    1417//     static hasMany = [] 
    1518 
    16 //     static belongsTo = [] 
     19    static belongsTo = [TaskProcedure] 
    1720 
    1821    static constraints = { 
     
    2225        maintenancePolicy(nullable:true) 
    2326        procedureStepNumber(nullable:true) 
    24         description() 
    25         reasoning() 
    26         isActive() 
     27        description(blank:false,maxSize:100) 
     28        pageRef(maxSize:100) 
    2729    } 
    2830