1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.krad.web.form;
17
18 import org.kuali.rice.krad.data.util.Link;
19 import org.kuali.rice.krad.maintenance.MaintenanceDocument;
20 import org.kuali.rice.krad.uif.UifConstants.ViewType;
21 import org.kuali.rice.krad.web.bind.ChangeTracking;
22 import org.kuali.rice.krad.web.bind.RequestAccessible;
23
24
25
26
27
28
29 @ChangeTracking
30 @Link(path = "document.newMaintainableObject.dataObject")
31 public class MaintenanceDocumentForm extends DocumentFormBase {
32 private static final long serialVersionUID = -5805825500852498048L;
33
34 @RequestAccessible
35 protected String dataObjectClassName;
36
37 @RequestAccessible
38 protected String maintenanceAction;
39
40 public MaintenanceDocumentForm() {
41 super();
42 setViewTypeName(ViewType.MAINTENANCE);
43 }
44
45 @Override
46 public MaintenanceDocument getDocument() {
47 return (MaintenanceDocument) super.getDocument();
48 }
49
50
51
52
53 public void setDocument(MaintenanceDocument document) {
54 super.setDocument(document);
55 }
56
57 public String getDataObjectClassName() {
58 return this.dataObjectClassName;
59 }
60
61 public void setDataObjectClassName(String dataObjectClassName) {
62 this.dataObjectClassName = dataObjectClassName;
63 }
64
65 public String getMaintenanceAction() {
66 return this.maintenanceAction;
67 }
68
69 public void setMaintenanceAction(String maintenanceAction) {
70 this.maintenanceAction = maintenanceAction;
71 }
72
73 }