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 package org.kuali.kfs.module.ec.businessobject; 017 018 import java.util.LinkedHashMap; 019 020 import org.kuali.kfs.sys.businessobject.SystemOptions; 021 import org.kuali.rice.kns.bo.Inactivateable; 022 import org.kuali.rice.kns.bo.PersistableBusinessObjectBase; 023 024 /** 025 * Business Object for the Effort Certification Report Earn Paygroup Table. 026 */ 027 public class EffortCertificationReportEarnPaygroup extends PersistableBusinessObjectBase implements Inactivateable { 028 private Integer universityFiscalYear; 029 private String effortCertificationReportTypeCode; 030 private String earnCode; 031 private String payGroup; 032 private boolean active; 033 034 private EffortCertificationReportType effortCertificationReportType; 035 private SystemOptions options; 036 037 /** 038 * Constructs a EffortCertificationReportEarnPaygroup.java. 039 */ 040 public EffortCertificationReportEarnPaygroup() { 041 super(); 042 } 043 044 /** 045 * Gets the universityFiscalYear attribute. 046 * 047 * @return Returns the universityFiscalYear. 048 */ 049 public Integer getUniversityFiscalYear() { 050 return universityFiscalYear; 051 } 052 053 /** 054 * Sets the universityFiscalYear attribute value. 055 * 056 * @param universityFiscalYear The universityFiscalYear to set. 057 */ 058 public void setUniversityFiscalYear(Integer universityFiscalYear) { 059 this.universityFiscalYear = universityFiscalYear; 060 } 061 062 /** 063 * Gets the effortCertificationReportTypeCode attribute. 064 * 065 * @return Returns the effortCertificationReportTypeCode. 066 */ 067 public String getEffortCertificationReportTypeCode() { 068 return effortCertificationReportTypeCode; 069 } 070 071 /** 072 * Sets the effortCertificationReportTypeCode attribute value. 073 * 074 * @param effortCertificationReportTypeCode The effortCertificationReportTypeCode to set. 075 */ 076 public void setEffortCertificationReportTypeCode(String effortCertificationReportTypeCode) { 077 this.effortCertificationReportTypeCode = effortCertificationReportTypeCode; 078 } 079 080 /** 081 * Gets the earnCode attribute. 082 * 083 * @return Returns the earnCode. 084 */ 085 public String getEarnCode() { 086 return earnCode; 087 } 088 089 /** 090 * Sets the earnCode attribute value. 091 * 092 * @param earnCode The earnCode to set. 093 */ 094 public void setEarnCode(String earnCode) { 095 this.earnCode = earnCode; 096 } 097 098 /** 099 * Gets the payGroup attribute. 100 * 101 * @return Returns the payGroup. 102 */ 103 public String getPayGroup() { 104 return payGroup; 105 } 106 107 /** 108 * Sets the payGroup attribute value. 109 * 110 * @param payGroup The payGroup to set. 111 */ 112 public void setPayGroup(String payGroup) { 113 this.payGroup = payGroup; 114 } 115 116 /** 117 * Gets the active attribute. 118 * 119 * @return Returns the active. 120 */ 121 public boolean isActive() { 122 return active; 123 } 124 125 /** 126 * Sets the active attribute value. 127 * 128 * @param active The active to set. 129 */ 130 public void setActive(boolean active) { 131 this.active = active; 132 } 133 134 /** 135 * Gets the effortCertificationReportType attribute. 136 * 137 * @return Returns the effortCertificationReportType. 138 */ 139 public EffortCertificationReportType getEffortCertificationReportType() { 140 return effortCertificationReportType; 141 } 142 143 /** 144 * Sets the effortCertificationReportType attribute value. 145 * 146 * @param effortCertificationReportType The effortCertificationReportType to set. 147 */ 148 @Deprecated 149 public void setEffortCertificationReportType(EffortCertificationReportType effortCertificationReportType) { 150 this.effortCertificationReportType = effortCertificationReportType; 151 } 152 153 /** 154 * Gets the options attribute. 155 * 156 * @return Returns the options. 157 */ 158 public SystemOptions getOptions() { 159 return options; 160 } 161 162 /** 163 * Sets the options attribute value. 164 * 165 * @param options The options to set. 166 */ 167 @Deprecated 168 public void setOptions(SystemOptions options) { 169 this.options = options; 170 } 171 172 /** 173 * @see org.kuali.rice.kns.bo.BusinessObjectBase#toStringMapper() 174 */ 175 protected LinkedHashMap toStringMapper() { 176 LinkedHashMap m = new LinkedHashMap(); 177 if (this.universityFiscalYear != null) { 178 m.put("universityFiscalYear", this.universityFiscalYear.toString()); 179 } 180 m.put("effortCertificationReportTypeCode", this.effortCertificationReportTypeCode); 181 m.put("earnCode", this.earnCode); 182 m.put("payGroup", this.payGroup); 183 return m; 184 } 185 }