View Javadoc

1   /**
2    * Copyright 2011 The Kuali Foundation Licensed under the
3    * Educational Community License, Version 2.0 (the "License"); you may
4    * not use this file except in compliance with the License. You may
5    * obtain a copy of the License at
6    *
7    * http://www.osedu.org/licenses/ECL-2.0
8    *
9    * Unless required by applicable law or agreed to in writing,
10   * software distributed under the License is distributed on an "AS IS"
11   * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12   * or implied. See the License for the specific language governing
13   * permissions and limitations under the License.
14   */
15  
16  package org.kuali.common.impex.model.compare;
17  
18  import org.kuali.common.impex.model.Schema;
19  import org.kuali.common.impex.model.View;
20  
21  public class ViewDifference extends SchemaDifference {
22      View view1;
23      View view2;
24      ViewDifferenceType type;
25  
26      public ViewDifference(Schema schema1, View view1, Schema schema2, View view2) {
27          super(schema1, schema2);
28          this.view1 = view1;
29          this.view2 = view2;
30      }
31  
32      public ViewDifferenceType getType() {
33          return type;
34      }
35  
36      public void setType(ViewDifferenceType type) {
37          this.type = type;
38      }
39  
40      public View getView1() {
41          return view1;
42      }
43  
44      public void setView1(View view1) {
45          this.view1 = view1;
46      }
47  
48      public View getView2() {
49          return view2;
50      }
51  
52      public void setView2(View view2) {
53          this.view2 = view2;
54      }
55  }