View Javadoc

1   /*
2    * Copyright 2004-2006 the Seasar Foundation and the Others.
3    *
4    * Licensed under the Apache 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.apache.org/licenses/LICENSE-2.0
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, 
13   * either express or implied. See the License for the specific language
14   * governing permissions and limitations under the License.
15   */
16  package org.seasar.tuigwaa.plugin.database;
17  
18  import org.apache.struts.upload.FormFile;
19  
20  /***
21   * @author nishioka
22   */
23  public class ExcelUpDto {
24  	
25  	public static final String UPLOADTYPE_OVERWRITE = "overwrite";
26  	public static final String UPLOADTYPE_CLEAN = "clean";
27  
28  	private String entityName;
29  	private String type;
30  	private FormFile file;
31  	private String pageName;
32  
33  	public ExcelUpDto(){
34  	}
35  	
36  	public FormFile getFile() {
37  		return file;
38  	}
39  
40  	public void setFile(FormFile file) {
41  		this.file = file;
42  	}
43  
44  	public String getEntityName() {
45  		return entityName;
46  	}
47  
48  	public void setEntityName(String entityName) {
49  		this.entityName = entityName;
50  	}
51  
52  	public String getType() {
53  		return type;
54  	}
55  
56  	public void setType(String type) {
57  		this.type = type;
58  	}
59  
60  	public String getPageName() {
61  		return pageName;
62  	}
63  
64  	public void setPageName(String pageName) {
65  		this.pageName = pageName;
66  	}
67  	
68  }