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 /** 024 * 025 */ 026 public class BudgetConstructionIntendedIncumbentSelect extends PersistableBusinessObjectBase { 027 028 private String principalId; 029 private String emplid; 030 private String financialObjectCode; 031 private String name; 032 033 /** 034 * Default constructor. 035 */ 036 public BudgetConstructionIntendedIncumbentSelect() { 037 super(); 038 } 039 040 /** 041 * Gets the principalId attribute. 042 * 043 * @return Returns the principalId 044 */ 045 public String getPrincipalId() { 046 return principalId; 047 } 048 049 /** 050 * Sets the principalId attribute. 051 * 052 * @param principalId The principalId to set. 053 */ 054 public void setPrincipalId(String principalId) { 055 this.principalId = principalId; 056 } 057 058 059 /** 060 * Gets the emplid attribute. 061 * 062 * @return Returns the emplid 063 */ 064 public String getEmplid() { 065 return emplid; 066 } 067 068 /** 069 * Sets the emplid attribute. 070 * 071 * @param emplid The emplid to set. 072 */ 073 public void setEmplid(String emplid) { 074 this.emplid = emplid; 075 } 076 077 078 /** 079 * Gets the financialObjectCode attribute. 080 * 081 * @return Returns the financialObjectCode 082 */ 083 public String getFinancialObjectCode() { 084 return financialObjectCode; 085 } 086 087 /** 088 * Sets the financialObjectCode attribute. 089 * 090 * @param financialObjectCode The financialObjectCode to set. 091 */ 092 public void setFinancialObjectCode(String financialObjectCode) { 093 this.financialObjectCode = financialObjectCode; 094 } 095 096 097 /** 098 * Gets the name attribute. 099 * 100 * @return Returns the name 101 */ 102 public String getName() { 103 return name; 104 } 105 106 /** 107 * Sets the name attribute. 108 * 109 * @param name The name to set. 110 */ 111 public void setName(String name) { 112 this.name = name; 113 } 114 115 /** 116 * @see org.kuali.rice.kns.bo.BusinessObjectBase#toStringMapper() 117 */ 118 protected LinkedHashMap toStringMapper() { 119 LinkedHashMap m = new LinkedHashMap(); 120 m.put("principalId", this.principalId); 121 m.put("emplid", this.emplid); 122 m.put("financialObjectCode", this.financialObjectCode); 123 return m; 124 } 125 } 126