View Javadoc
1   /*
2    * Copyright 2007 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.ole.sys.businessobject;
17  
18  import java.util.LinkedHashMap;
19  
20  import org.kuali.rice.krad.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 batchDestinationFilePath;
27      private String batchInputTypeName;
28      private String fileUserIdentifer;
29      private String existingFileName;
30  
31      /**
32       * Default no-arg constructor.
33       */
34      public BatchUpload() {
35  
36      }
37  
38  
39      /**
40       * Gets the batchInputTypeName attribute.
41       * 
42       * @return Returns the batchInputTypeName.
43       */
44      public String getBatchInputTypeName() {
45          return batchInputTypeName;
46      }
47  
48  
49      /**
50       * Sets the batchInputTypeName attribute value.
51       * 
52       * @param batchInputTypeName The batchInputTypeName to set.
53       */
54      public void setBatchInputTypeName(String batchInputTypeName) {
55          this.batchInputTypeName = batchInputTypeName;
56      }
57  
58  
59      /**
60       * Gets the existingFileName attribute.
61       * 
62       * @return Returns the existingFileName.
63       */
64      public String getExistingFileName() {
65          return existingFileName;
66      }
67  
68  
69      /**
70       * Sets the existingFileName attribute value.
71       * 
72       * @param existingFileName The existingFileName to set.
73       */
74      public void setExistingFileName(String deleteFile) {
75          this.existingFileName = deleteFile;
76      }
77  
78  
79      /**
80       * Gets the fileUserIdentifer attribute.
81       * 
82       * @return Returns the fileUserIdentifer.
83       */
84      public String getFileUserIdentifer() {
85          return fileUserIdentifer;
86      }
87  
88  
89      /**
90       * Sets the fileUserIdentifer attribute value.
91       * 
92       * @param fileUserIdentifer The fileUserIdentifer to set.
93       */
94      public void setFileUserIdentifer(String fileRename) {
95          this.fileUserIdentifer = fileRename;
96      }
97  
98  
99      
100     protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
101         LinkedHashMap m = new LinkedHashMap();
102         m.put("batchInputType", this.batchInputTypeName);
103         return m;
104     }
105 
106 
107     public String getBatchDestinationFilePath() {
108         return batchDestinationFilePath;
109     }
110 
111 
112     public void setBatchDestinationFilePath(String batchDestinationFilePath) {
113         this.batchDestinationFilePath = batchDestinationFilePath;
114     }
115 
116 
117   
118 
119 }