1 /**
2 * Copyright 2005-2014 The Kuali Foundation
3 *
4 * Licensed under the Educational Community License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.opensource.org/licenses/ecl2.php
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16 package org.kuali.rice.krad.labs.fileUploads;
17
18 import org.kuali.rice.krad.web.form.UifFormBase;
19 import org.springframework.web.multipart.MultipartFile;
20
21 import java.util.ArrayList;
22 import java.util.List;
23
24 /**
25 * This form backs the XmlIngester View
26 *
27 * @author Kuali Rice Team (rice.collab@kuali.org)
28 *
29 */
30 public class XmlIngesterForm extends UifFormBase {
31
32 private static final long serialVersionUID = -6874672285597100759L;
33
34 private List<MultipartFile> files;
35
36 /**
37 * @return the files
38 */
39 public List<MultipartFile> getFiles() {
40 return this.files;
41 }
42
43 /**
44 * @param files the files to set
45 */
46 public void setFiles(List<MultipartFile> files) {
47 this.files = files;
48 }
49
50 public XmlIngesterForm(){
51 files = new ArrayList<MultipartFile>();
52 files.add(null);
53 files.add(null);
54 files.add(null);
55 files.add(null);
56 files.add(null);
57 files.add(null);
58 files.add(null);
59 files.add(null);
60 files.add(null);
61 files.add(null);
62 }
63
64 }