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.endow.report.util;
017
018 import java.util.ArrayList;
019 import java.util.List;
020
021 public class EndowmentReportFooterDataHolder {
022
023 private String reference;
024 private String EstablishedDate;
025 private String kemidType;
026 private String kemidPurpose;
027 private String reportRunDate;
028 private List<BenefittingForFooter> BenefittingList = null;
029
030 public EndowmentReportFooterDataHolder() {
031 }
032
033 /**
034 * Creates benefitting info and register it
035 *
036 * @return
037 */
038 public BenefittingForFooter createBenefittingForFooter() {
039 if (BenefittingList == null) {
040 BenefittingList = new ArrayList<BenefittingForFooter>();
041 }
042 BenefittingForFooter benefittingForFooter = new BenefittingForFooter();
043 BenefittingList.add(benefittingForFooter);
044 return benefittingForFooter;
045 }
046
047 /**
048 * Benefitting footer data holder
049 */
050 public class BenefittingForFooter {
051 private String campusName;
052 private String chartName;
053 private String organizationName;
054 private String benefittingPercent;
055
056 public String getCampusName() {
057 return campusName;
058 }
059 public void setCampusName(String campusName) {
060 this.campusName = campusName;
061 }
062 public String getChartName() {
063 return chartName;
064 }
065 public void setChartName(String chartName) {
066 this.chartName = chartName;
067 }
068 public String getOrganizationName() {
069 return organizationName;
070 }
071 public void setOrganizationName(String organizationName) {
072 this.organizationName = organizationName;
073 }
074 public String getBenefittingPercent() {
075 return benefittingPercent;
076 }
077 public void setBenefittingPercent(String benefittingPercent) {
078 this.benefittingPercent = benefittingPercent;
079 }
080 }
081
082 public String getReference() {
083 return reference;
084 }
085
086 public void setReference(String reference) {
087 this.reference = reference;
088 }
089
090 public String getEstablishedDate() {
091 return EstablishedDate;
092 }
093
094 public void setEstablishedDate(String establishedDate) {
095 EstablishedDate = establishedDate;
096 }
097
098 public String getKemidType() {
099 return kemidType;
100 }
101
102 public void setKemidType(String kemidType) {
103 this.kemidType = kemidType;
104 }
105
106 public String getKemidPurpose() {
107 return kemidPurpose;
108 }
109
110 public void setKemidPurpose(String kemidPurpose) {
111 this.kemidPurpose = kemidPurpose;
112 }
113
114 public String getReportRunDate() {
115 return reportRunDate;
116 }
117
118 public void setReportRunDate(String reportRunDate) {
119 this.reportRunDate = reportRunDate;
120 }
121
122 public List<BenefittingForFooter> getBenefittingList() {
123 return BenefittingList;
124 }
125
126 public void setBenefittingList(List<BenefittingForFooter> benefittingList) {
127 BenefittingList = benefittingList;
128 }
129
130 }