1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.ole.fp.document.web.struts;
17
18 import org.kuali.ole.fp.businessobject.CapitalAccountingLine;
19 import org.kuali.rice.core.api.util.type.KualiDecimal;
20
21
22
23
24
25 public abstract class CapitalAccountingLinesFormBase extends CapitalAssetInformationFormBase {
26
27 protected transient CapitalAccountingLine capitalAccountingLine;
28 protected transient boolean editCreateOrModify;
29 protected transient KualiDecimal systemControlAmount;
30 protected transient KualiDecimal createdAssetsControlAmount;
31 protected transient boolean distributeEqualAmount;
32
33
34
35
36 public CapitalAccountingLinesFormBase() {
37 super();
38
39 this.setSystemControlAmount(KualiDecimal.ZERO);
40 capitalAccountingLine = new CapitalAccountingLine();
41 editCreateOrModify = true;
42 distributeEqualAmount = true;
43 }
44
45
46
47
48
49
50
51 public CapitalAccountingLine getCapitalAccountingLine() {
52 return capitalAccountingLine;
53 }
54
55
56
57
58
59
60 public void setCapitalAccountingLine(CapitalAccountingLine capitalAccountingLine) {
61 this.capitalAccountingLine = capitalAccountingLine;
62 }
63
64
65
66
67
68
69
70 public boolean isEditCreateOrModify() {
71 return editCreateOrModify;
72 }
73
74
75
76
77
78
79 public void setEditCreateOrModify(boolean editCreateOrModify) {
80 this.editCreateOrModify = editCreateOrModify;
81 }
82
83
84
85
86
87
88
89 public KualiDecimal getSystemControlAmount() {
90 return systemControlAmount;
91 }
92
93
94
95
96
97
98 public void setSystemControlAmount(KualiDecimal systemControlAmount) {
99 this.systemControlAmount = systemControlAmount;
100 }
101
102
103
104
105
106
107
108 public KualiDecimal getCreatedAssetsControlAmount() {
109 return createdAssetsControlAmount;
110 }
111
112
113
114
115
116
117 public void setCreatedAssetsControlAmount(KualiDecimal createdAssetsControlAmount) {
118 this.createdAssetsControlAmount = createdAssetsControlAmount;
119 }
120
121
122
123
124
125
126
127 public boolean isDistributeEqualAmount() {
128 return distributeEqualAmount;
129 }
130
131
132
133
134
135
136 public void setDistributeEqualAmount(boolean distributeEqualAmount) {
137 this.distributeEqualAmount = distributeEqualAmount;
138 }
139
140 }