View Javadoc

1   /**
2    * Copyright 2010-2013 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.common.jdbc.convert;
17  
18  import java.io.File;
19  
20  import org.kuali.common.jdbc.SqlMetaData;
21  
22  public class ConversionResult {
23  
24  	File oldFile;
25  	File newFile;
26  	SqlMetaData before;
27  	SqlMetaData after;
28  
29  	public ConversionResult() {
30  		this(null, null, null, null);
31  	}
32  
33  	public ConversionResult(File oldFile, File newFile, SqlMetaData before, SqlMetaData after) {
34  		super();
35  		this.oldFile = oldFile;
36  		this.newFile = newFile;
37  		this.before = before;
38  		this.after = after;
39  	}
40  
41  	public SqlMetaData getBefore() {
42  		return before;
43  	}
44  
45  	public void setBefore(SqlMetaData before) {
46  		this.before = before;
47  	}
48  
49  	public SqlMetaData getAfter() {
50  		return after;
51  	}
52  
53  	public void setAfter(SqlMetaData after) {
54  		this.after = after;
55  	}
56  
57  	public File getOldFile() {
58  		return oldFile;
59  	}
60  
61  	public void setOldFile(File oldFile) {
62  		this.oldFile = oldFile;
63  	}
64  
65  	public File getNewFile() {
66  		return newFile;
67  	}
68  
69  	public void setNewFile(File newFile) {
70  		this.newFile = newFile;
71  	}
72  
73  }