001 /* 002 * Copyright 2011 The Kuali Foundation 003 * 004 * Licensed under the Educational Community License, Version 1.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/ecl1.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 edu.sampleu.kew.krad.form; 017 018 import java.util.ArrayList; 019 import java.util.List; 020 021 import org.kuali.rice.krad.web.form.UifFormBase; 022 import org.springframework.web.multipart.MultipartFile; 023 024 /** 025 * This is a description of what this class does - Venkat don't forget to fill this in. 026 * 027 * @author Kuali Rice Team (rice.collab@kuali.org) 028 * 029 */ 030 public class IngesterForm extends UifFormBase { 031 032 private static final long serialVersionUID = -6874672285597100759L; 033 034 private List<MultipartFile> files; 035 036 /** 037 * @return the files 038 */ 039 public List<MultipartFile> getFiles() { 040 return this.files; 041 } 042 043 /** 044 * @param files the files to set 045 */ 046 public void setFiles(List<MultipartFile> files) { 047 this.files = files; 048 } 049 050 public IngesterForm(){ 051 files = new ArrayList<MultipartFile>(); 052 files.add(null); 053 files.add(null); 054 files.add(null); 055 files.add(null); 056 files.add(null); 057 files.add(null); 058 files.add(null); 059 files.add(null); 060 files.add(null); 061 files.add(null); 062 } 063 064 }