1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.common.impex.model.compare;
17
18 import org.kuali.common.impex.model.ForeignKey;
19 import org.kuali.common.impex.model.Schema;
20
21 public class ForeignKeyDifference extends SchemaDifference {
22
23 ForeignKey foreignKey1;
24 ForeignKey foreignKey2;
25 ForeignKeyDifferenceType type;
26
27 public ForeignKeyDifference(Schema schema1, ForeignKey foreignKey1, Schema schema2, ForeignKey foreignKey2) {
28 super(schema1, schema2);
29 this.foreignKey1 = foreignKey1;
30 this.foreignKey2 = foreignKey2;
31 }
32
33 public ForeignKey getForeignKey1() {
34 return foreignKey1;
35 }
36
37 public void setForeignKey1(ForeignKey foreignKey1) {
38 this.foreignKey1 = foreignKey1;
39 }
40
41 public ForeignKey getForeignKey2() {
42 return foreignKey2;
43 }
44
45 public void setForeignKey2(ForeignKey foreignKey2) {
46 this.foreignKey2 = foreignKey2;
47 }
48
49 public ForeignKeyDifferenceType getType() {
50 return type;
51 }
52
53 public void setType(ForeignKeyDifferenceType type) {
54 this.type = type;
55 }
56 }