001/* 002 * Copyright 2006 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 017package org.kuali.ole.coa.businessobject; 018 019import java.util.LinkedHashMap; 020 021import org.kuali.ole.sys.businessobject.FiscalYearBasedBusinessObject; 022import org.kuali.ole.sys.businessobject.SystemOptions; 023import org.kuali.rice.core.api.mo.common.active.MutableInactivatable; 024import org.kuali.rice.krad.bo.PersistableBusinessObjectBase; 025 026/** 027 * 028 */ 029public class OrganizationReversionDetail extends PersistableBusinessObjectBase implements MutableInactivatable, OrganizationReversionCategoryInfo, FiscalYearBasedBusinessObject { 030 031 private Integer universityFiscalYear; 032 private String chartOfAccountsCode; 033 private String organizationCode; 034 private String organizationReversionCategoryCode; 035 private String organizationReversionCode; 036 private String organizationReversionObjectCode; 037 private boolean active = true; 038 039 private ObjectCode organizationReversionObject; 040 private Organization organization; 041 private Chart chartOfAccounts; 042 private OrganizationReversionCategory organizationReversionCategory; 043 private SystemOptions universityFiscal; 044 private OrganizationReversion organizationReversion; 045 046 /** 047 * Default constructor. 048 */ 049 public OrganizationReversionDetail() { 050 051 } 052 053 /** 054 * Gets the universityFiscalYear attribute. 055 * 056 * @return Returns the universityFiscalYear 057 */ 058 public Integer getUniversityFiscalYear() { 059 return universityFiscalYear; 060 } 061 062 /** 063 * Sets the universityFiscalYear attribute. 064 * 065 * @param universityFiscalYear The universityFiscalYear to set. 066 */ 067 public void setUniversityFiscalYear(Integer universityFiscalYear) { 068 this.universityFiscalYear = universityFiscalYear; 069 } 070 071 072 /** 073 * Gets the chartOfAccountsCode attribute. 074 * 075 * @return Returns the chartOfAccountsCode 076 */ 077 public String getChartOfAccountsCode() { 078 return chartOfAccountsCode; 079 } 080 081 /** 082 * Sets the chartOfAccountsCode attribute. 083 * 084 * @param chartOfAccountsCode The chartOfAccountsCode to set. 085 */ 086 public void setChartOfAccountsCode(String chartOfAccountsCode) { 087 this.chartOfAccountsCode = chartOfAccountsCode; 088 } 089 090 091 /** 092 * Gets the organizationCode attribute. 093 * 094 * @return Returns the organizationCode 095 */ 096 public String getOrganizationCode() { 097 return organizationCode; 098 } 099 100 /** 101 * Sets the organizationCode attribute. 102 * 103 * @param organizationCode The organizationCode to set. 104 */ 105 public void setOrganizationCode(String organizationCode) { 106 this.organizationCode = organizationCode; 107 } 108 109 110 /** 111 * Gets the organizationReversionCategoryCode attribute. 112 * 113 * @return Returns the organizationReversionCategoryCode 114 */ 115 public String getOrganizationReversionCategoryCode() { 116 return organizationReversionCategoryCode; 117 } 118 119 /** 120 * Sets the organizationReversionCategoryCode attribute. 121 * 122 * @param organizationReversionCategoryCode The organizationReversionCategoryCode to set. 123 */ 124 public void setOrganizationReversionCategoryCode(String organizationReversionCategoryCode) { 125 this.organizationReversionCategoryCode = organizationReversionCategoryCode; 126 } 127 128 /** 129 * Gets the organizationReversionCode attribute. 130 * 131 * @return Returns the organizationReversionCode 132 */ 133 public String getOrganizationReversionCode() { 134 return organizationReversionCode; 135 } 136 137 /** 138 * Sets the organizationReversionCode attribute. 139 * 140 * @param organizationReversionCode The organizationReversionCode to set. 141 */ 142 public void setOrganizationReversionCode(String organizationReversionCode) { 143 this.organizationReversionCode = organizationReversionCode; 144 } 145 146 147 /** 148 * Gets the organizationReversionObjectCode attribute. 149 * 150 * @return Returns the organizationReversionObjectCode 151 */ 152 public String getOrganizationReversionObjectCode() { 153 return organizationReversionObjectCode; 154 } 155 156 /** 157 * Sets the organizationReversionObjectCode attribute. 158 * 159 * @param organizationReversionObjectCode The organizationReversionObjectCode to set. 160 */ 161 public void setOrganizationReversionObjectCode(String organizationReversionObjectCode) { 162 this.organizationReversionObjectCode = organizationReversionObjectCode; 163 } 164 165 166 /** 167 * Gets the organizationReversionObject attribute. 168 * 169 * @return Returns the organizationReversionObject 170 */ 171 public ObjectCode getOrganizationReversionObject() { 172 return organizationReversionObject; 173 } 174 175 /** 176 * Sets the organizationReversionObject attribute. 177 * 178 * @param organizationReversionObject The organizationReversionObject to set. 179 * @deprecated 180 */ 181 public void setOrganizationReversionObject(ObjectCode organizationReversionObject) { 182 this.organizationReversionObject = organizationReversionObject; 183 } 184 185 /** 186 * Gets the organization attribute. 187 * 188 * @return Returns the organization 189 */ 190 public Organization getOrganization() { 191 return organization; 192 } 193 194 /** 195 * Sets the organization attribute. 196 * 197 * @param organization The organization to set. 198 * @deprecated 199 */ 200 public void setOrganization(Organization organization) { 201 this.organization = organization; 202 } 203 204 /** 205 * Gets the chartOfAccounts attribute. 206 * 207 * @return Returns the chartOfAccounts 208 */ 209 public Chart getChartOfAccounts() { 210 return chartOfAccounts; 211 } 212 213 /** 214 * Sets the chartOfAccounts attribute. 215 * 216 * @param chartOfAccounts The chartOfAccounts to set. 217 * @deprecated 218 */ 219 public void setChartOfAccounts(Chart chartOfAccounts) { 220 this.chartOfAccounts = chartOfAccounts; 221 } 222 223 /** 224 * Gets the organizationReversionCategory attribute. 225 * 226 * @return Returns the organizationReversionCategory. 227 */ 228 public OrganizationReversionCategory getOrganizationReversionCategory() { 229 return organizationReversionCategory; 230 } 231 232 /** 233 * Sets the organizationReversionCategory attribute value. 234 * 235 * @param organizationReversionCategory The organizationReversionCategory to set. 236 */ 237 public void setOrganizationReversionCategory(OrganizationReversionCategory organizationReversionCategory) { 238 this.organizationReversionCategory = organizationReversionCategory; 239 } 240 241 /** 242 * Gets the universityFiscal attribute. 243 * 244 * @return Returns the universityFiscal. 245 */ 246 public SystemOptions getUniversityFiscal() { 247 return universityFiscal; 248 } 249 250 /** 251 * Sets the universityFiscal attribute value. 252 * 253 * @param universityFiscal The universityFiscal to set. 254 */ 255 public void setUniversityFiscal(SystemOptions universityFiscal) { 256 this.universityFiscal = universityFiscal; 257 } 258 259 /** 260 * Gets the organizationReversion attribute. 261 * 262 * @return Returns the organizationReversion. 263 */ 264 public OrganizationReversion getOrganizationReversion() { 265 return organizationReversion; 266 } 267 268 /** 269 * Sets the organizationReversion attribute value. 270 * 271 * @param organizationReversion The organizationReversion to set. 272 */ 273 public void setOrganizationReversion(OrganizationReversion organizationReversion) { 274 this.organizationReversion = organizationReversion; 275 } 276 277 /** 278 * Gets the active attribute. 279 * @return Returns the active. 280 */ 281 public boolean isActive() { 282 return active; 283 } 284 285 /** 286 * Sets the active attribute value. 287 * @param active The active to set. 288 */ 289 public void setActive(boolean active) { 290 this.active = active; 291 } 292 293 /** 294 * @see org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper() 295 */ 296 protected LinkedHashMap toStringMapper_RICE20_REFACTORME() { 297 LinkedHashMap m = new LinkedHashMap(); 298 return m; 299 } 300}