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.businessobject; 017 018 import java.util.LinkedHashMap; 019 020 import org.kuali.rice.kns.bo.PersistableBusinessObjectBase; 021 import org.kuali.rice.kns.util.KualiDecimal; 022 023 public class EndowmentRecurringCashTransferKEMIDTarget extends PersistableBusinessObjectBase { 024 025 private String transferNumber; 026 private String targetSequenceNumber; 027 private String sourceKemid; 028 private String targetKemid; 029 private String targetEtranCode; 030 private String targetLineDescription; 031 private String targetIncomeOrPrincipal; 032 private KualiDecimal targetAmount; 033 private KualiDecimal targetPercent; 034 private String targetUseEtranCode; 035 private boolean active; 036 037 private EndowmentRecurringCashTransfer endowmentRecurringCashTransfer; 038 private KEMID targetKemidObj; 039 private EndowmentTransactionCode targetEtranCodeObj; 040 private IncomePrincipalIndicator incomePrincipalIndicator; 041 private EndowmentTransactionCode targetUseEtranCodeObj; 042 043 /** 044 * Default constructor. 045 */ 046 public EndowmentRecurringCashTransferKEMIDTarget() { 047 //setTargetSequenceNumber(Integer.toString(getEndowmentRecurringCashTransfer().getKemidTarget().size() + 1)); 048 } 049 050 public EndowmentRecurringCashTransfer getEndowmentRecurringCashTransfer() { 051 return endowmentRecurringCashTransfer; 052 } 053 054 public void setEndowmentRecurringCashTransfer(EndowmentRecurringCashTransfer endowmentRecurringCashTransfer) { 055 this.endowmentRecurringCashTransfer = endowmentRecurringCashTransfer; 056 } 057 058 public String getTransferNumber() { 059 return transferNumber; 060 } 061 062 public void setTransferNumber(String transferNumber) { 063 this.transferNumber = transferNumber; 064 } 065 066 public String getTargetSequenceNumber() { 067 return targetSequenceNumber; 068 } 069 070 public void setTargetSequenceNumber(String targetSequenceNumber) { 071 this.targetSequenceNumber = targetSequenceNumber; 072 } 073 074 public String getTargetKemid() { 075 return targetKemid; 076 } 077 078 public void setTargetKemid(String targetKemid) { 079 this.targetKemid = targetKemid; 080 } 081 082 public String getTargetEtranCode() { 083 return targetEtranCode; 084 } 085 086 public void setTargetEtranCode(String targetEtranCode) { 087 this.targetEtranCode = targetEtranCode; 088 } 089 090 public String getTargetLineDescription() { 091 return targetLineDescription; 092 } 093 094 public void setTargetLineDescription(String targetLineDescription) { 095 this.targetLineDescription = targetLineDescription; 096 } 097 098 public String getTargetIncomeOrPrincipal() { 099 return targetIncomeOrPrincipal; 100 } 101 102 public void setTargetIncomeOrPrincipal(String targetIncomeOrPrincipal) { 103 this.targetIncomeOrPrincipal = targetIncomeOrPrincipal; 104 } 105 106 public KualiDecimal getTargetAmount() { 107 return targetAmount; 108 } 109 110 public void setTargetAmount(KualiDecimal targetAmount) { 111 this.targetAmount = targetAmount; 112 } 113 114 public KualiDecimal getTargetPercent() { 115 return targetPercent; 116 } 117 118 public void setTargetPercent(KualiDecimal targetPercent) { 119 this.targetPercent = targetPercent; 120 } 121 122 public String getTargetUseEtranCode() { 123 return targetUseEtranCode; 124 } 125 126 public void setTargetUseEtranCode(String targetUseEtranCode) { 127 this.targetUseEtranCode = targetUseEtranCode; 128 } 129 130 public KEMID getTargetKemidObj() { 131 return targetKemidObj; 132 } 133 134 public void setTargetKemidObj(KEMID targetKemidObj) { 135 this.targetKemidObj = targetKemidObj; 136 } 137 138 public EndowmentTransactionCode getTargetEtranCodeObj() { 139 return targetEtranCodeObj; 140 } 141 142 public void setTargetEtranCodeObj(EndowmentTransactionCode targetEtranCodeObj) { 143 this.targetEtranCodeObj = targetEtranCodeObj; 144 } 145 146 public IncomePrincipalIndicator getIncomePrincipalIndicator() { 147 return incomePrincipalIndicator; 148 } 149 150 public void setIncomePrincipalIndicator(IncomePrincipalIndicator incomePrincipalIndicator) { 151 this.incomePrincipalIndicator = incomePrincipalIndicator; 152 } 153 154 public EndowmentTransactionCode getTargetUseEtranCodeObj() { 155 return targetUseEtranCodeObj; 156 } 157 158 public void setTargetUseEtranCodeObj(EndowmentTransactionCode targetUseEtranCodeObj) { 159 this.targetUseEtranCodeObj = targetUseEtranCodeObj; 160 } 161 162 @Override 163 protected LinkedHashMap toStringMapper() { 164 // TODO Auto-generated method stub 165 return null; 166 } 167 168 public boolean isActive() { 169 return active; 170 } 171 172 public void setActive(boolean active) { 173 this.active = active; 174 } 175 176 public String getSourceKemid() { 177 return sourceKemid; 178 } 179 180 public void setSourceKemid(String sourceKemid) { 181 this.sourceKemid = sourceKemid; 182 } 183 }