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.util.LinkedHashMap;
020    
021    import org.kuali.rice.kns.bo.PersistableBusinessObjectBase;
022    
023    public class BudgetConstructionPositionSelect extends PersistableBusinessObjectBase {
024    
025        private String principalId;
026        private String positionNumber;
027        private Integer universityFiscalYear;
028        private String emplid;
029        private String iuPositionType;
030        private String positionDepartmentIdentifier;
031        private String setidSalary;
032        private String salaryAdministrationPlan;
033        private String grade;
034        private String positionDescription;
035        private String name;
036    
037        private BudgetConstructionPosition budgetConstructionPosition;
038    
039        /**
040         * Default constructor.
041         */
042        public BudgetConstructionPositionSelect() {
043            super();
044        }
045    
046        /**
047         * Gets the principalId attribute.
048         * 
049         * @return Returns the principalId
050         */
051        public String getPrincipalId() {
052            return principalId;
053        }
054    
055        /**
056         * Sets the principalId attribute.
057         * 
058         * @param principalId The principalId to set.
059         */
060        public void setPrincipalId(String principalId) {
061            this.principalId = principalId;
062        }
063    
064    
065        /**
066         * Gets the positionNumber attribute.
067         * 
068         * @return Returns the positionNumber
069         */
070        public String getPositionNumber() {
071            return positionNumber;
072        }
073    
074        /**
075         * Sets the positionNumber attribute.
076         * 
077         * @param positionNumber The positionNumber to set.
078         */
079        public void setPositionNumber(String positionNumber) {
080            this.positionNumber = positionNumber;
081        }
082    
083    
084        /**
085         * Gets the universityFiscalYear attribute.
086         * 
087         * @return Returns the universityFiscalYear
088         */
089        public Integer getUniversityFiscalYear() {
090            return universityFiscalYear;
091        }
092    
093        /**
094         * Sets the universityFiscalYear attribute.
095         * 
096         * @param universityFiscalYear The universityFiscalYear to set.
097         */
098        public void setUniversityFiscalYear(Integer universityFiscalYear) {
099            this.universityFiscalYear = universityFiscalYear;
100        }
101    
102    
103        /**
104         * Gets the emplid attribute.
105         * 
106         * @return Returns the emplid
107         */
108        public String getEmplid() {
109            return emplid;
110        }
111    
112        /**
113         * Sets the emplid attribute.
114         * 
115         * @param emplid The emplid to set.
116         */
117        public void setEmplid(String emplid) {
118            this.emplid = emplid;
119        }
120    
121    
122        /**
123         * Gets the iuPositionType attribute.
124         * 
125         * @return Returns the iuPositionType
126         */
127        public String getIuPositionType() {
128            return iuPositionType;
129        }
130    
131        /**
132         * Sets the iuPositionType attribute.
133         * 
134         * @param iuPositionType The iuPositionType to set.
135         */
136        public void setIuPositionType(String iuPositionType) {
137            this.iuPositionType = iuPositionType;
138        }
139    
140    
141        /**
142         * Gets the positionDepartmentIdentifier attribute.
143         * 
144         * @return Returns the positionDepartmentIdentifier
145         */
146        public String getPositionDepartmentIdentifier() {
147            return positionDepartmentIdentifier;
148        }
149    
150        /**
151         * Sets the positionDepartmentIdentifier attribute.
152         * 
153         * @param positionDepartmentIdentifier The positionDepartmentIdentifier to set.
154         */
155        public void setPositionDepartmentIdentifier(String positionDepartmentIdentifier) {
156            this.positionDepartmentIdentifier = positionDepartmentIdentifier;
157        }
158    
159    
160        /**
161         * Gets the setidSalary attribute.
162         * 
163         * @return Returns the setidSalary
164         */
165        public String getSetidSalary() {
166            return setidSalary;
167        }
168    
169        /**
170         * Sets the setidSalary attribute.
171         * 
172         * @param setidSalary The setidSalary to set.
173         */
174        public void setSetidSalary(String setidSalary) {
175            this.setidSalary = setidSalary;
176        }
177    
178    
179        /**
180         * Gets the salaryAdministrationPlan attribute.
181         * 
182         * @return Returns the salaryAdministrationPlan
183         */
184        public String getSalaryAdministrationPlan() {
185            return salaryAdministrationPlan;
186        }
187    
188        /**
189         * Sets the salaryAdministrationPlan attribute.
190         * 
191         * @param salaryAdministrationPlan The salaryAdministrationPlan to set.
192         */
193        public void setSalaryAdministrationPlan(String salaryAdministrationPlan) {
194            this.salaryAdministrationPlan = salaryAdministrationPlan;
195        }
196    
197    
198        /**
199         * Gets the grade attribute.
200         * 
201         * @return Returns the grade
202         */
203        public String getGrade() {
204            return grade;
205        }
206    
207        /**
208         * Sets the grade attribute.
209         * 
210         * @param grade The grade to set.
211         */
212        public void setGrade(String grade) {
213            this.grade = grade;
214        }
215    
216    
217        /**
218         * Gets the positionDescription attribute.
219         * 
220         * @return Returns the positionDescription
221         */
222        public String getPositionDescription() {
223            return positionDescription;
224        }
225    
226        /**
227         * Sets the positionDescription attribute.
228         * 
229         * @param positionDescription The positionDescription to set.
230         */
231        public void setPositionDescription(String positionDescription) {
232            this.positionDescription = positionDescription;
233        }
234    
235    
236        /**
237         * Gets the name attribute.
238         * 
239         * @return Returns the name
240         */
241        public String getName() {
242            return name;
243        }
244    
245        /**
246         * Sets the name attribute.
247         * 
248         * @param name The name to set.
249         */
250        public void setName(String name) {
251            this.name = name;
252        }
253    
254    
255        /**
256         * Gets the budgetConstructionPosition attribute.
257         * 
258         * @return Returns the budgetConstructionPosition
259         */
260        public BudgetConstructionPosition getBudgetConstructionPosition() {
261            return budgetConstructionPosition;
262        }
263    
264        /**
265         * Sets the budgetConstructionPosition attribute.
266         * 
267         * @param budgetConstructionPosition The budgetConstructionPosition to set.
268         * @deprecated
269         */
270        public void setBudgetConstructionPosition(BudgetConstructionPosition budgetConstructionPosition) {
271            this.budgetConstructionPosition = budgetConstructionPosition;
272        }
273    
274        /**
275         * @see org.kuali.rice.kns.bo.BusinessObjectBase#toStringMapper()
276         */
277        protected LinkedHashMap toStringMapper() {
278            LinkedHashMap m = new LinkedHashMap();
279            m.put("principalId", this.principalId);
280            m.put("positionNumber", this.positionNumber);
281            if (this.universityFiscalYear != null) {
282                m.put("universityFiscalYear", this.universityFiscalYear.toString());
283            }
284            m.put("emplid", this.emplid);
285            return m;
286        }
287    }
288