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.integration.cg.dto;
017    
018    import java.io.Serializable;
019    import java.util.Date;
020    
021    public class AccountParametersDTO implements Serializable {
022        
023        private static final long serialVersionUID = 8417796622708399543L;
024        
025        protected String unit;    
026        protected String principalId;
027        
028        //Values that can override
029        protected String higherEdFunctionCode;
030        protected String indirectCostTypeCode;
031        protected String indirectCostRate;
032                    
033        protected String defaultAddressCityName;
034        protected String defaultAddressStateCode;
035        protected String defaultAddressStreetAddress;
036        protected String defaultAddressZipCode;
037        
038        protected String adminContactAddressCityName;
039        protected String adminContactAddressStateCode;
040        protected String adminContactAddressStreetAddress;
041        protected String adminContactAddressZipCode;
042            
043        //Mapped directly from Award
044        protected String accountName;
045        protected String accountNumber;
046        protected String cfdaNumber;
047        protected Date expirationDate;
048        protected Date effectiveDate;    
049        protected boolean offCampusIndicator;        
050        protected String expenseGuidelineText;
051        protected String incomeGuidelineText;
052        protected String purposeText;
053    
054        
055        public AccountParametersDTO() {}
056    
057        /**
058         * Gets the unit attribute. 
059         * @return Returns the unit.
060         */
061        public String getUnit() {
062            return unit;
063        }
064    
065        /**
066         * Sets the unit attribute value.
067         * @param unit The unit to set.
068         */
069        public void setUnit(String unit) {
070            this.unit = unit;
071        }
072    
073        /**
074         * Gets the accountNumber attribute. 
075         * @return Returns the accountNumber.
076         */
077        public String getAccountNumber() {
078            return accountNumber;
079        }
080    
081        /**
082         * Sets the accountNumber attribute value.
083         * @param accountNumber The accountNumber to set.
084         */
085        public void setAccountNumber(String accountNumber) {
086            this.accountNumber = accountNumber;
087        }
088    
089        /**
090         * Gets the accountName attribute. 
091         * @return Returns the accountName.
092         */
093        public String getAccountName() {
094            return accountName;
095        }
096    
097        /**
098         * Sets the accountName attribute value.
099         * @param accountName The accountName to set.
100         */
101        public void setAccountName(String accountName) {
102            this.accountName = accountName;
103        }
104    
105        /**
106         * Gets the higherEdFunctionCode attribute. 
107         * @return Returns the higherEdFunctionCode.
108         */
109        public String getHigherEdFunctionCode() {
110            return higherEdFunctionCode;
111        }
112    
113        /**
114         * Sets the higherEdFunctionCode attribute value.
115         * @param higherEdFunctionCode The higherEdFunctionCode to set.
116         */
117        public void setHigherEdFunctionCode(String higherEdFunctionCode) {
118            this.higherEdFunctionCode = higherEdFunctionCode;
119        }
120    
121        /**
122         * Gets the indirectCostTypeCode attribute. 
123         * @return Returns the indirectCostTypeCode.
124         */
125        public String getIndirectCostTypeCode() {
126            return indirectCostTypeCode;
127        }
128    
129        /**
130         * Sets the indirectCostTypeCode attribute value.
131         * @param indirectCostTypeCode The indirectCostTypeCode to set.
132         */
133        public void setIndirectCostTypeCode(String indirectCostTypeCode) {
134            this.indirectCostTypeCode = indirectCostTypeCode;
135        }
136    
137        /**
138         * Gets the indirectCostRate attribute. 
139         * @return Returns the indirectCostRate.
140         */
141        public String getIndirectCostRate() {
142            return indirectCostRate;
143        }
144    
145        /**
146         * Sets the indirectCostRate attribute value.
147         * @param indirectCostRate The indirectCostRate to set.
148         */
149        public void setIndirectCostRate(String indirectCostRate) {
150            this.indirectCostRate = indirectCostRate;
151        }
152    
153        /**
154         * Gets the expenseGuidelineText attribute. 
155         * @return Returns the expenseGuidelineText.
156         */
157        public String getExpenseGuidelineText() {
158            return expenseGuidelineText;
159        }
160    
161        /**
162         * Sets the expenseGuidelineText attribute value.
163         * @param expenseGuidelineText The expenseGuidelineText to set.
164         */
165        public void setExpenseGuidelineText(String expenseGuidelineText) {
166            this.expenseGuidelineText = expenseGuidelineText;
167        }
168    
169        /**
170         * Gets the incomeGuidelineText attribute. 
171         * @return Returns the incomeGuidelineText.
172         */
173        public String getIncomeGuidelineText() {
174            return incomeGuidelineText;
175        }
176    
177        /**
178         * Sets the incomeGuidelineText attribute value.
179         * @param incomeGuidelineText The incomeGuidelineText to set.
180         */
181        public void setIncomeGuidelineText(String incomeGuidelineText) {
182            this.incomeGuidelineText = incomeGuidelineText;
183        }
184    
185        /**
186         * Gets the purposeText attribute. 
187         * @return Returns the purposeText.
188         */
189        public String getPurposeText() {
190            return purposeText;
191        }
192    
193        /**
194         * Sets the purposeText attribute value.
195         * @param purposeText The purposeText to set.
196         */
197        public void setPurposeText(String purposeText) {
198            this.purposeText = purposeText;
199        }
200    
201        /**
202         * Gets the cfdaNumber attribute. 
203         * @return Returns the cfdaNumber.
204         */
205        public String getCfdaNumber() {
206            return cfdaNumber;
207        }
208    
209        /**
210         * Sets the cfdaNumber attribute value.
211         * @param cfdaNumber The cfdaNumber to set.
212         */
213        public void setCfdaNumber(String cfdaNumber) {
214            this.cfdaNumber = cfdaNumber;
215        }
216    
217        /**
218         * Gets the expirationDate attribute. 
219         * @return Returns the expirationDate.
220         */
221        public Date getExpirationDate() {
222            return expirationDate;
223        }
224    
225        /**
226         * Sets the expirationDate attribute value.
227         * @param expirationDate The expirationDate to set.
228         */
229        public void setExpirationDate(Date expirationDate) {
230            this.expirationDate = expirationDate;
231        }
232    
233        /**
234         * Gets the effectiveDate attribute. 
235         * @return Returns the effectiveDate.
236         */
237        public Date getEffectiveDate() {
238            return effectiveDate;
239        }
240    
241        /**
242         * Sets the effectiveDate attribute value.
243         * @param effectiveDate The effectiveDate to set.
244         */
245        public void setEffectiveDate(Date effectiveDate) {
246            this.effectiveDate = effectiveDate;
247        }
248    
249        /**
250         * Gets the offCampusIndicator attribute. 
251         * @return Returns the offCampusIndicator.
252         */
253        public boolean isOffCampusIndicator() {
254            return offCampusIndicator;
255        }
256    
257        /**
258         * Sets the offCampusIndicator attribute value.
259         * @param offCampusIndicator The offCampusIndicator to set.
260         */
261        public void setOffCampusIndicator(boolean offCampusIndicator) {
262            this.offCampusIndicator = offCampusIndicator;
263        }
264    
265        public String getDefaultAddressCityName() {
266            return defaultAddressCityName;
267        }
268    
269        public void setDefaultAddressCityName(String defaultAddressCityName) {
270            this.defaultAddressCityName = defaultAddressCityName;
271        }
272    
273        public String getDefaultAddressStateCode() {
274            return defaultAddressStateCode;
275        }
276    
277        public void setDefaultAddressStateCode(String defaultAddressStateCode) {
278            this.defaultAddressStateCode = defaultAddressStateCode;
279        }
280    
281        public String getDefaultAddressStreetAddress() {
282            return defaultAddressStreetAddress;
283        }
284    
285        public void setDefaultAddressStreetAddress(String defaultAddressStreetAddress) {
286            this.defaultAddressStreetAddress = defaultAddressStreetAddress;
287        }
288    
289        public String getDefaultAddressZipCode() {
290            return defaultAddressZipCode;
291        }
292    
293        public void setDefaultAddressZipCode(String defaultAddressZipCode) {
294            this.defaultAddressZipCode = defaultAddressZipCode;
295        }
296    
297        public String getAdminContactAddressCityName() {
298            return adminContactAddressCityName;
299        }
300    
301        public void setAdminContactAddressCityName(String adminContactAddressCityName) {
302            this.adminContactAddressCityName = adminContactAddressCityName;
303        }
304    
305        public String getAdminContactAddressStateCode() {
306            return adminContactAddressStateCode;
307        }
308    
309        public void setAdminContactAddressStateCode(String adminContactAddressStateCode) {
310            this.adminContactAddressStateCode = adminContactAddressStateCode;
311        }
312    
313        public String getAdminContactAddressStreetAddress() {
314            return adminContactAddressStreetAddress;
315        }
316    
317        public void setAdminContactAddressStreetAddress(String adminContactAddressStreetAddress) {
318            this.adminContactAddressStreetAddress = adminContactAddressStreetAddress;
319        }
320    
321        public String getAdminContactAddressZipCode() {
322            return adminContactAddressZipCode;
323        }
324    
325        public void setAdminContactAddressZipCode(String adminContactAddressZipCode) {
326            this.adminContactAddressZipCode = adminContactAddressZipCode;
327        }
328    
329     
330        public String getPrincipalId() {
331            return principalId;
332        }
333    
334        public void setPrincipalId(String principalId) {
335            this.principalId = principalId;
336        }
337        
338    }