001 /**
002 * Copyright 2010-2013 The Kuali Foundation
003 *
004 * Licensed under the Educational Community License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 * http://www.opensource.org/licenses/ecl2.php
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016 package org.kuali.common.jdbc.convert;
017
018 import java.io.File;
019
020 import org.kuali.common.jdbc.sql.model.SqlMetaData;
021
022 public class ConversionResult {
023
024 File oldFile;
025 File newFile;
026 SqlMetaData before;
027 SqlMetaData after;
028
029 public ConversionResult() {
030 this(null, null, null, null);
031 }
032
033 public ConversionResult(File oldFile, File newFile, SqlMetaData before, SqlMetaData after) {
034 super();
035 this.oldFile = oldFile;
036 this.newFile = newFile;
037 this.before = before;
038 this.after = after;
039 }
040
041 public SqlMetaData getBefore() {
042 return before;
043 }
044
045 public void setBefore(SqlMetaData before) {
046 this.before = before;
047 }
048
049 public SqlMetaData getAfter() {
050 return after;
051 }
052
053 public void setAfter(SqlMetaData after) {
054 this.after = after;
055 }
056
057 public File getOldFile() {
058 return oldFile;
059 }
060
061 public void setOldFile(File oldFile) {
062 this.oldFile = oldFile;
063 }
064
065 public File getNewFile() {
066 return newFile;
067 }
068
069 public void setNewFile(File newFile) {
070 this.newFile = newFile;
071 }
072
073 }