aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/com/healthmarketscience/jackcess/impl/RelationshipImpl.java
diff options
context:
space:
mode:
authorJames Ahlborn <jtahlborn@yahoo.com>2018-12-20 21:20:24 +0000
committerJames Ahlborn <jtahlborn@yahoo.com>2018-12-20 21:20:24 +0000
commit9c638f35bf36cca19a58c5f0a3267af63b164069 (patch)
treecc1d6306d985a2b56721ad02869beafb345b8568 /src/main/java/com/healthmarketscience/jackcess/impl/RelationshipImpl.java
parenta92bc3439fb02222c8afd65718674461b41b8de3 (diff)
downloadjackcess-9c638f35bf36cca19a58c5f0a3267af63b164069.tar.gz
jackcess-9c638f35bf36cca19a58c5f0a3267af63b164069.zip
overrides everywhere
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/jdk8@1246 f203690c-595d-4dc9-a70b-905162fa7fd2
Diffstat (limited to 'src/main/java/com/healthmarketscience/jackcess/impl/RelationshipImpl.java')
-rw-r--r--src/main/java/com/healthmarketscience/jackcess/impl/RelationshipImpl.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/main/java/com/healthmarketscience/jackcess/impl/RelationshipImpl.java b/src/main/java/com/healthmarketscience/jackcess/impl/RelationshipImpl.java
index 0cc2b90..a9342f8 100644
--- a/src/main/java/com/healthmarketscience/jackcess/impl/RelationshipImpl.java
+++ b/src/main/java/com/healthmarketscience/jackcess/impl/RelationshipImpl.java
@@ -83,22 +83,27 @@ public class RelationshipImpl implements Relationship
_flags = flags;
}
+ @Override
public String getName() {
return _name;
}
+ @Override
public Table getFromTable() {
return _fromTable;
}
+ @Override
public List<Column> getFromColumns() {
return _fromColumns;
}
+ @Override
public Table getToTable() {
return _toTable;
}
+ @Override
public List<Column> getToColumns() {
return _toColumns;
}
@@ -107,34 +112,42 @@ public class RelationshipImpl implements Relationship
return _flags;
}
+ @Override
public boolean isOneToOne() {
return hasFlag(ONE_TO_ONE_FLAG);
}
+ @Override
public boolean hasReferentialIntegrity() {
return !hasFlag(NO_REFERENTIAL_INTEGRITY_FLAG);
}
+ @Override
public boolean cascadeUpdates() {
return hasFlag(CASCADE_UPDATES_FLAG);
}
+ @Override
public boolean cascadeDeletes() {
return hasFlag(CASCADE_DELETES_FLAG);
}
+ @Override
public boolean cascadeNullOnDelete() {
return hasFlag(CASCADE_NULL_FLAG);
}
+ @Override
public boolean isLeftOuterJoin() {
return hasFlag(LEFT_OUTER_JOIN_FLAG);
}
+ @Override
public boolean isRightOuterJoin() {
return hasFlag(RIGHT_OUTER_JOIN_FLAG);
}
+ @Override
public JoinType getJoinType() {
if(isLeftOuterJoin()) {
return JoinType.LEFT_OUTER;