Last change
on this file since 797 was
268,
checked in by gav, 15 years ago
|
Refactor classes for asset tree refinement.
Regenerate views and controllers to suite.
|
File size:
672 bytes
|
Line | |
---|
1 | class MaintenanceAction { |
---|
2 | |
---|
3 | TaskProcedure taskProcedure |
---|
4 | MaintenancePolicy maintenancePolicy |
---|
5 | Section section |
---|
6 | Asset asset |
---|
7 | AssetSubItem assetSubItem |
---|
8 | |
---|
9 | String description |
---|
10 | String reasoning = "" |
---|
11 | Integer procedureStepNumber |
---|
12 | boolean isActive = true |
---|
13 | |
---|
14 | // static hasMany = [] |
---|
15 | |
---|
16 | // static belongsTo = [] |
---|
17 | |
---|
18 | static constraints = { |
---|
19 | section(nullable:true) |
---|
20 | asset(nullable:true) |
---|
21 | assetSubItem(nullable:true) |
---|
22 | maintenancePolicy(nullable:true) |
---|
23 | procedureStepNumber(nullable:true) |
---|
24 | description() |
---|
25 | reasoning() |
---|
26 | isActive() |
---|
27 | } |
---|
28 | |
---|
29 | String toString() { |
---|
30 | "${this.description}" |
---|
31 | } |
---|
32 | } |
---|
33 | |
---|
Note: See
TracBrowser
for help on using the repository browser.