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 MissingForeignKey extends ForeignKeyDifference {
22
23 public MissingForeignKey(Schema sourceSchema, Schema missingSchema, ForeignKey foreignKey) {
24 super(sourceSchema, foreignKey, missingSchema, null);
25 setType(ForeignKeyDifferenceType.MISSING_FOREIGN_KEY);
26 }
27
28 public Schema getSourceSchema() {
29 return schema1;
30 }
31
32 public Schema getMissingSchema() {
33 return schema2;
34 }
35
36 public ForeignKey getForeignKey() {
37 return foreignKey1;
38 }
39 }