01: /*
02: * Copyright 2007 The Kuali Foundation.
03: *
04: * Licensed under the Educational Community License, Version 1.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.opensource.org/licenses/ecl1.php
09: *
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.kfs.bo;
17:
18: import java.util.LinkedHashMap;
19:
20: import org.kuali.core.bo.TransientBusinessObjectBase;
21:
22: /**
23: * Object that contains properties used on the batch upload screen.
24: */
25: public class BatchUpload extends TransientBusinessObjectBase {
26: private String batchInputTypeName;
27: private String fileUserIdentifer;
28: private String existingFileName;
29:
30: /**
31: * Default no-arg constructor.
32: */
33: public BatchUpload() {
34:
35: }
36:
37: /**
38: * Gets the batchInputTypeName attribute.
39: *
40: * @return Returns the batchInputTypeName.
41: */
42: public String getBatchInputTypeName() {
43: return batchInputTypeName;
44: }
45:
46: /**
47: * Sets the batchInputTypeName attribute value.
48: *
49: * @param batchInputTypeName The batchInputTypeName to set.
50: */
51: public void setBatchInputTypeName(String batchInputTypeName) {
52: this .batchInputTypeName = batchInputTypeName;
53: }
54:
55: /**
56: * Gets the existingFileName attribute.
57: *
58: * @return Returns the existingFileName.
59: */
60: public String getExistingFileName() {
61: return existingFileName;
62: }
63:
64: /**
65: * Sets the existingFileName attribute value.
66: *
67: * @param existingFileName The existingFileName to set.
68: */
69: public void setExistingFileName(String deleteFile) {
70: this .existingFileName = deleteFile;
71: }
72:
73: /**
74: * Gets the fileUserIdentifer attribute.
75: *
76: * @return Returns the fileUserIdentifer.
77: */
78: public String getFileUserIdentifer() {
79: return fileUserIdentifer;
80: }
81:
82: /**
83: * Sets the fileUserIdentifer attribute value.
84: *
85: * @param fileUserIdentifer The fileUserIdentifer to set.
86: */
87: public void setFileUserIdentifer(String fileRename) {
88: this .fileUserIdentifer = fileRename;
89: }
90:
91: @Override
92: protected LinkedHashMap toStringMapper() {
93: LinkedHashMap m = new LinkedHashMap();
94: m.put("batchInputType", this.batchInputTypeName);
95: return m;
96: }
97:
98: }
|