1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.ole.select.businessobject;
17
18 import org.kuali.ole.sys.businessobject.SourceAccountingLine;
19
20 import java.math.BigDecimal;
21
22 public class OleDisbursementVoucherAccountingLine extends SourceAccountingLine {
23
24
25
26
27 public OleDisbursementVoucherAccountingLine() {
28 super();
29 accountLinePercent = new BigDecimal(100);
30 }
31
32 private BigDecimal accountLinePercent;
33
34
35
36
37
38
39 public BigDecimal getAccountLinePercent() {
40 if (accountLinePercent != null) {
41 accountLinePercent = accountLinePercent.setScale(2, BigDecimal.ROUND_HALF_UP);
42 return accountLinePercent;
43 } else {
44 return new BigDecimal(100).setScale(2, BigDecimal.ROUND_HALF_UP);
45 }
46 }
47
48
49
50
51
52
53 public void setAccountLinePercent(BigDecimal accountLinePercent) {
54 this.accountLinePercent = accountLinePercent;
55 }
56 }
57
58
59