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.math.BigDecimal; 020 import java.util.LinkedHashMap; 021 022 import org.kuali.kfs.coa.businessobject.Chart; 023 import org.kuali.kfs.coa.businessobject.Organization; 024 import org.kuali.rice.kns.bo.PersistableBusinessObjectBase; 025 import org.kuali.rice.kns.util.KualiInteger; 026 027 /** 028 * 029 */ 030 public class BudgetConstructionSalaryTotal extends PersistableBusinessObjectBase { 031 032 private String organizationChartOfAccountsCode; 033 private String organizationCode; 034 private KualiInteger csfAmount; 035 private KualiInteger appointmentRequestedAmount; 036 private BigDecimal appointmentRequestedFteQuantity; 037 private KualiInteger initialRequestedAmount; 038 private BigDecimal initialRequestedFteQuantity; 039 private String principalId; 040 041 private Chart organizationChartOfAccounts; 042 private Organization organization; 043 044 /** 045 * Default constructor. 046 */ 047 public BudgetConstructionSalaryTotal() { 048 049 } 050 051 /** 052 * Gets the organizationChartOfAccountsCode attribute. 053 * 054 * @return Returns the organizationChartOfAccountsCode 055 */ 056 public String getOrganizationChartOfAccountsCode() { 057 return organizationChartOfAccountsCode; 058 } 059 060 /** 061 * Sets the organizationChartOfAccountsCode attribute. 062 * 063 * @param organizationChartOfAccountsCode The organizationChartOfAccountsCode to set. 064 */ 065 public void setOrganizationChartOfAccountsCode(String organizationChartOfAccountsCode) { 066 this.organizationChartOfAccountsCode = organizationChartOfAccountsCode; 067 } 068 069 070 /** 071 * Gets the organizationCode attribute. 072 * 073 * @return Returns the organizationCode 074 */ 075 public String getOrganizationCode() { 076 return organizationCode; 077 } 078 079 /** 080 * Sets the organizationCode attribute. 081 * 082 * @param organizationCode The organizationCode to set. 083 */ 084 public void setOrganizationCode(String organizationCode) { 085 this.organizationCode = organizationCode; 086 } 087 088 089 /** 090 * Gets the csfAmount attribute. 091 * 092 * @return Returns the csfAmount. 093 */ 094 public KualiInteger getCsfAmount() { 095 return csfAmount; 096 } 097 098 /** 099 * Sets the csfAmount attribute value. 100 * 101 * @param csfAmount The csfAmount to set. 102 */ 103 public void setCsfAmount(KualiInteger csfAmount) { 104 this.csfAmount = csfAmount; 105 } 106 107 /** 108 * Gets the appointmentRequestedAmount attribute. 109 * 110 * @return Returns the appointmentRequestedAmount. 111 */ 112 public KualiInteger getAppointmentRequestedAmount() { 113 return appointmentRequestedAmount; 114 } 115 116 /** 117 * Sets the appointmentRequestedAmount attribute value. 118 * 119 * @param appointmentRequestedAmount The appointmentRequestedAmount to set. 120 */ 121 public void setAppointmentRequestedAmount(KualiInteger appointmentRequestedAmount) { 122 this.appointmentRequestedAmount = appointmentRequestedAmount; 123 } 124 125 /** 126 * Gets the appointmentRequestedFteQuantity attribute. 127 * 128 * @return Returns the appointmentRequestedFteQuantity 129 */ 130 public BigDecimal getAppointmentRequestedFteQuantity() { 131 return appointmentRequestedFteQuantity; 132 } 133 134 /** 135 * Sets the appointmentRequestedFteQuantity attribute. 136 * 137 * @param appointmentRequestedFteQuantity The appointmentRequestedFteQuantity to set. 138 */ 139 public void setAppointmentRequestedFteQuantity(BigDecimal appointmentRequestedFteQuantity) { 140 this.appointmentRequestedFteQuantity = appointmentRequestedFteQuantity; 141 } 142 143 144 /** 145 * Gets the initialRequestedAmount attribute. 146 * 147 * @return Returns the initialRequestedAmount. 148 */ 149 public KualiInteger getInitialRequestedAmount() { 150 return initialRequestedAmount; 151 } 152 153 /** 154 * Sets the initialRequestedAmount attribute value. 155 * 156 * @param initialRequestedAmount The initialRequestedAmount to set. 157 */ 158 public void setInitialRequestedAmount(KualiInteger initialRequestedAmount) { 159 this.initialRequestedAmount = initialRequestedAmount; 160 } 161 162 /** 163 * Gets the initialRequestedFteQuantity attribute. 164 * 165 * @return Returns the initialRequestedFteQuantity 166 */ 167 public BigDecimal getInitialRequestedFteQuantity() { 168 return initialRequestedFteQuantity; 169 } 170 171 /** 172 * Sets the initialRequestedFteQuantity attribute. 173 * 174 * @param initialRequestedFteQuantity The initialRequestedFteQuantity to set. 175 */ 176 public void setInitialRequestedFteQuantity(BigDecimal initialRequestedFteQuantity) { 177 this.initialRequestedFteQuantity = initialRequestedFteQuantity; 178 } 179 180 181 /** 182 * Gets the principalId attribute. 183 * 184 * @return Returns the principalId. 185 */ 186 public String getPrincipalId() { 187 return principalId; 188 } 189 190 /** 191 * Sets the principalId attribute value. 192 * 193 * @param principalId The principalId to set. 194 */ 195 public void setPrincipalId(String principalId) { 196 this.principalId = principalId; 197 } 198 199 /** 200 * Gets the organizationChartOfAccounts attribute. 201 * 202 * @return Returns the organizationChartOfAccounts 203 */ 204 public Chart getOrganizationChartOfAccounts() { 205 return organizationChartOfAccounts; 206 } 207 208 /** 209 * Sets the organizationChartOfAccounts attribute. 210 * 211 * @param organizationChartOfAccounts The organizationChartOfAccounts to set. 212 * @deprecated 213 */ 214 public void setOrganizationChartOfAccounts(Chart organizationChartOfAccounts) { 215 this.organizationChartOfAccounts = organizationChartOfAccounts; 216 } 217 218 /** 219 * Gets the organization attribute. 220 * 221 * @return Returns the organization 222 */ 223 public Organization getOrganization() { 224 return organization; 225 } 226 227 /** 228 * Sets the organization attribute. 229 * 230 * @param organization The organization to set. 231 * @deprecated 232 */ 233 public void setOrganization(Organization organization) { 234 this.organization = organization; 235 } 236 237 /** 238 * @see org.kuali.rice.kns.bo.BusinessObjectBase#toStringMapper() 239 */ 240 protected LinkedHashMap toStringMapper() { 241 LinkedHashMap m = new LinkedHashMap(); 242 m.put("principalId", this.principalId); 243 m.put("organizationChartOfAccountsCode", this.organizationChartOfAccountsCode); 244 m.put("organizationCode", this.organizationCode); 245 return m; 246 } 247 } 248