1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.kpme.pm.position.funding;
17
18 import java.math.BigDecimal;
19
20 import org.kuali.kpme.core.bo.HrBusinessObject;
21 import org.kuali.kpme.pm.api.position.funding.PositionFundingContract;
22
23 public class PositionFunding extends HrBusinessObject implements PositionFundingContract {
24 private static final long serialVersionUID = 1L;
25
26 private String pmPositionFunctionId;
27 private String hrPositionId;
28
29 private String chart;
30 private String org;
31 private String account;
32 private String subAccount;
33 private String objectCode;
34 private String subObjectCode;
35 private String orgRefCode;
36 private BigDecimal percent;
37 private BigDecimal amount;
38 private boolean priorityFlag;
39
40
41
42 private String source;
43
44
45 @Override
46 public String getId() {
47 return getPmPositionFunctionId();
48 }
49
50 @Override
51 public void setId(String id) {
52 setPmPositionFunctionId(id);
53 }
54
55 @Override
56 protected String getUniqueKey() {
57 return getPmPositionFunctionId() + "_" + getHrPositionId();
58 }
59
60 public String getPmPositionFunctionId() {
61 return pmPositionFunctionId;
62 }
63
64 public void setPmPositionFunctionId(String pmPositionFunctionId) {
65 this.pmPositionFunctionId = pmPositionFunctionId;
66 }
67
68 public String getHrPositionId() {
69 return hrPositionId;
70 }
71
72 public void setHrPositionId(String hrPositionId) {
73 this.hrPositionId = hrPositionId;
74 }
75
76 public String getSource() {
77 return source;
78 }
79
80 public void setSource(String source) {
81 this.source = source;
82 }
83
84 public String getChart() {
85 return chart;
86 }
87
88 public void setChart(String chart) {
89 this.chart = chart;
90 }
91
92 public String getOrg() {
93 return org;
94 }
95
96 public void setOrg(String org) {
97 this.org = org;
98 }
99
100 public String getAccount() {
101 return account;
102 }
103
104 public void setAccount(String account) {
105 this.account = account;
106 }
107
108 public String getSubAccount() {
109 return subAccount;
110 }
111
112 public void setSubAccount(String subAccount) {
113 this.subAccount = subAccount;
114 }
115
116 public String getObjectCode() {
117 return objectCode;
118 }
119
120 public void setObjectCode(String objectCode) {
121 this.objectCode = objectCode;
122 }
123
124 public String getSubObjectCode() {
125 return subObjectCode;
126 }
127
128 public void setSubObjectCode(String subObjectCode) {
129 this.subObjectCode = subObjectCode;
130 }
131
132 public String getOrgRefCode() {
133 return orgRefCode;
134 }
135
136 public void setOrgRefCode(String orgRefCode) {
137 this.orgRefCode = orgRefCode;
138 }
139
140 public BigDecimal getPercent() {
141 return percent;
142 }
143
144 public void setPercent(BigDecimal percent) {
145 this.percent = percent;
146 }
147
148 public BigDecimal getAmount() {
149 return amount;
150 }
151
152 public void setAmount(BigDecimal amount) {
153 this.amount = amount;
154 }
155
156 public boolean isPriorityFlag() {
157 return priorityFlag;
158 }
159
160 public void setPriorityFlag(boolean priorityFlag) {
161 this.priorityFlag = priorityFlag;
162 }
163
164
165 }