001 /*
002 * Copyright 2011 The Kuali Foundation.
003 *
004 * Licensed under the Educational Community License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 * http://www.opensource.org/licenses/ecl2.php
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016
017 package org.kuali.kfs.module.bc.businessobject;
018
019 import java.sql.Date;
020 import java.util.LinkedHashMap;
021
022 import org.kuali.rice.kns.bo.PersistableBusinessObjectBase;
023
024 /**
025 *
026 */
027 public class BudgetConstructionActiveJobMove extends PersistableBusinessObjectBase {
028
029 private String principalId;
030 private String emplid;
031 private Integer employeeRecord;
032 private Date effectiveDate;
033 private Integer effectiveSequence;
034 private String positionNumber;
035 private String employeeStatus;
036 private String departmentIdentifier;
037
038 /**
039 * Default constructor.
040 */
041 public BudgetConstructionActiveJobMove() {
042
043 }
044
045 /**
046 * Gets the principalId attribute.
047 *
048 * @return Returns the principalId
049 */
050 public String getPrincipalId() {
051 return principalId;
052 }
053
054 /**
055 * Sets the principalId attribute.
056 *
057 * @param principalId The principalId to set.
058 */
059 public void setPrincipalId(String principalId) {
060 this.principalId = principalId;
061 }
062
063
064 /**
065 * Gets the emplid attribute.
066 *
067 * @return Returns the emplid
068 */
069 public String getEmplid() {
070 return emplid;
071 }
072
073 /**
074 * Sets the emplid attribute.
075 *
076 * @param emplid The emplid to set.
077 */
078 public void setEmplid(String emplid) {
079 this.emplid = emplid;
080 }
081
082
083 /**
084 * Gets the employeeRecord attribute.
085 *
086 * @return Returns the employeeRecord
087 */
088 public Integer getEmployeeRecord() {
089 return employeeRecord;
090 }
091
092 /**
093 * Sets the employeeRecord attribute.
094 *
095 * @param employeeRecord The employeeRecord to set.
096 */
097 public void setEmployeeRecord(Integer employeeRecord) {
098 this.employeeRecord = employeeRecord;
099 }
100
101
102 /**
103 * Gets the effectiveDate attribute.
104 *
105 * @return Returns the effectiveDate
106 */
107 public Date getEffectiveDate() {
108 return effectiveDate;
109 }
110
111 /**
112 * Sets the effectiveDate attribute.
113 *
114 * @param effectiveDate The effectiveDate to set.
115 */
116 public void setEffectiveDate(Date effectiveDate) {
117 this.effectiveDate = effectiveDate;
118 }
119
120
121 /**
122 * Gets the effectiveSequence attribute.
123 *
124 * @return Returns the effectiveSequence
125 */
126 public Integer getEffectiveSequence() {
127 return effectiveSequence;
128 }
129
130 /**
131 * Sets the effectiveSequence attribute.
132 *
133 * @param effectiveSequence The effectiveSequence to set.
134 */
135 public void setEffectiveSequence(Integer effectiveSequence) {
136 this.effectiveSequence = effectiveSequence;
137 }
138
139
140 /**
141 * Gets the positionNumber attribute.
142 *
143 * @return Returns the positionNumber
144 */
145 public String getPositionNumber() {
146 return positionNumber;
147 }
148
149 /**
150 * Sets the positionNumber attribute.
151 *
152 * @param positionNumber The positionNumber to set.
153 */
154 public void setPositionNumber(String positionNumber) {
155 this.positionNumber = positionNumber;
156 }
157
158
159 /**
160 * Gets the employeeStatus attribute.
161 *
162 * @return Returns the employeeStatus
163 */
164 public String getEmployeeStatus() {
165 return employeeStatus;
166 }
167
168 /**
169 * Sets the employeeStatus attribute.
170 *
171 * @param employeeStatus The employeeStatus to set.
172 */
173 public void setEmployeeStatus(String employeeStatus) {
174 this.employeeStatus = employeeStatus;
175 }
176
177
178 /**
179 * Gets the departmentIdentifier attribute.
180 *
181 * @return Returns the departmentIdentifier
182 */
183 public String getDepartmentIdentifier() {
184 return departmentIdentifier;
185 }
186
187 /**
188 * Sets the departmentIdentifier attribute.
189 *
190 * @param departmentIdentifier The departmentIdentifier to set.
191 */
192 public void setDepartmentIdentifier(String departmentIdentifier) {
193 this.departmentIdentifier = departmentIdentifier;
194 }
195
196
197 /**
198 * @see org.kuali.rice.kns.bo.BusinessObjectBase#toStringMapper()
199 */
200 protected LinkedHashMap toStringMapper() {
201 LinkedHashMap m = new LinkedHashMap();
202 m.put("principalId", this.principalId);
203 m.put("emplid", this.emplid);
204 if (this.employeeRecord != null) {
205 m.put("employeeRecord", this.employeeRecord.toString());
206 }
207 if (this.effectiveDate != null) {
208 m.put("effectiveDate", this.effectiveDate.toString());
209 }
210 if (this.effectiveSequence != null) {
211 m.put("effectiveSequence", this.effectiveSequence.toString());
212 }
213 return m;
214 }
215 }
216