1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.kim.bo.entity.dto;
17
18 import org.kuali.rice.core.util.type.KualiDecimal;
19 import org.kuali.rice.kim.bo.entity.KimEntityEmploymentInformation;
20
21
22
23
24 public class KimEntityEmploymentInformationInfo extends KimInactivatableInfo implements KimEntityEmploymentInformation {
25
26 private static final long serialVersionUID = 1L;
27
28 protected String entityEmploymentId;
29 protected String employeeId;
30 protected String employmentRecordId;
31 protected String entityAffiliationId;
32 protected String employeeStatusCode;
33 protected String employeeTypeCode;
34 protected String primaryDepartmentCode;
35 protected KualiDecimal baseSalaryAmount;
36 protected boolean primary = true;
37
38
39
40
41 public KimEntityEmploymentInformationInfo() {
42 super();
43 active = true;
44 }
45
46
47
48
49 public KimEntityEmploymentInformationInfo( KimEntityEmploymentInformation eei ) {
50 this();
51 if ( eei != null ) {
52 entityEmploymentId = eei.getEntityEmploymentId();
53 employeeId = eei.getEmployeeId();
54 employmentRecordId = eei.getEmploymentRecordId();
55 entityAffiliationId = eei.getEntityAffiliationId();
56 employeeStatusCode = eei.getEmployeeStatusCode();
57 employeeTypeCode = eei.getEmployeeTypeCode();
58 primaryDepartmentCode = eei.getPrimaryDepartmentCode();
59 baseSalaryAmount = eei.getBaseSalaryAmount();
60 primary = eei.isPrimary();
61 active = eei.isActive();
62 }
63 }
64
65
66
67
68
69 public String getEntityEmploymentId() {
70 return entityEmploymentId;
71 }
72
73
74
75
76 public void setEntityEmploymentId(String entityEmploymentId) {
77 this.entityEmploymentId = entityEmploymentId;
78 }
79
80
81
82
83
84 public String getEmployeeId() {
85 return employeeId;
86 }
87
88
89
90
91 public void setEmployeeId(String employeeId) {
92 this.employeeId = employeeId;
93 }
94
95
96
97
98
99 public String getEmploymentRecordId() {
100 return employmentRecordId;
101 }
102
103
104
105
106 public void setEmploymentRecordId(String employmentRecordId) {
107 this.employmentRecordId = employmentRecordId;
108 }
109
110
111
112
113
114 public String getEntityAffiliationId() {
115 return entityAffiliationId;
116 }
117
118
119
120
121 public void setEntityAffiliationId(String entityAffiliationId) {
122 this.entityAffiliationId = entityAffiliationId;
123 }
124
125
126
127
128
129 public String getEmployeeStatusCode() {
130 return employeeStatusCode;
131 }
132
133
134
135
136 public void setEmployeeStatusCode(String employeeStatusCode) {
137 this.employeeStatusCode = employeeStatusCode;
138 }
139
140
141
142
143
144 public String getEmployeeTypeCode() {
145 return employeeTypeCode;
146 }
147
148
149
150
151 public void setEmployeeTypeCode(String employeeTypeCode) {
152 this.employeeTypeCode = employeeTypeCode;
153 }
154
155
156
157
158
159 public String getPrimaryDepartmentCode() {
160 return primaryDepartmentCode;
161 }
162
163
164
165
166 public void setPrimaryDepartmentCode(String primaryDepartmentCode) {
167 this.primaryDepartmentCode = primaryDepartmentCode;
168 }
169
170
171
172
173
174 public KualiDecimal getBaseSalaryAmount() {
175 return baseSalaryAmount;
176 }
177
178
179
180
181 public void setBaseSalaryAmount(KualiDecimal baseSalaryAmount) {
182 this.baseSalaryAmount = baseSalaryAmount;
183 }
184
185
186
187
188 public boolean isPrimary() {
189 return this.primary;
190 }
191
192
193
194
195 public void setPrimary(boolean primary) {
196 this.primary = primary;
197 }
198
199 }