1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package com.healthmarketscience.jackcess;
18
19 import java.util.List;
20
21
22
23
24
25
26
27
28 public interface Relationship
29 {
30 public enum JoinType {
31 INNER, LEFT_OUTER, RIGHT_OUTER;
32 }
33
34 public String getName();
35
36 public Table getFromTable();
37
38 public List<Column> getFromColumns();
39
40 public Table getToTable();
41
42 public List<Column> getToColumns();
43
44 public boolean isOneToOne();
45
46 public boolean hasReferentialIntegrity();
47
48 public boolean cascadeUpdates();
49
50 public boolean cascadeDeletes();
51
52 public boolean cascadeNullOnDelete();
53
54 public boolean isLeftOuterJoin();
55
56 public boolean isRightOuterJoin();
57
58 public JoinType getJoinType();
59 }