source: trunk/grails-app/domain/MaintenanceAction.groovy @ 169

Last change on this file since 169 was 146, checked in by gav, 15 years ago

Remove invalid contraints reported by Tomcat debug logs.

File size: 806 bytes
RevLine 
[131]1class MaintenanceAction {
2
3    TaskProcedure taskProcedure
[121]4    MaintenancePolicy maintenancePolicy
[122]5    SystemSection systemSection
[121]6    Asset asset
7    AssetType assetType
8    Assembly assembly
9    SubAssembly subAssembly
10    ComponentItem componentItem
[131]11
12    String description
[121]13    String reasoning = ""
[131]14    Integer procedureStepNumber
[118]15    boolean isActive = true
16
[121]17//     static hasMany = []
18
[127]19//     static belongsTo = []
[121]20
[122]21    static constraints = {
[146]22        maintenancePolicy(nullable:true)
23        systemSection(nullable:true)
24        asset(nullable:true)
25        assetType(nullable:true)
26        assembly(nullable:true)
27        subAssembly(nullable:true)
28        componentItem(nullable:true)
29        procedureStepNumber(nullable:true)
[122]30    }
[118]31
32    String toString() {
[131]33        "${this.description}"
[118]34    }
35}
36
Note: See TracBrowser for help on using the repository browser.