aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Ahlborn <jtahlborn@yahoo.com>2016-06-27 01:08:05 +0000
committerJames Ahlborn <jtahlborn@yahoo.com>2016-06-27 01:08:05 +0000
commitf2578a5a48195e58c2ce37b274c05f4514276bcc (patch)
treedca3aa867ca08e079f84dbad6b15c3705030877b
parent7e0838c282354251e664577c817af4efd8b484b2 (diff)
downloadjackcess-f2578a5a48195e58c2ce37b274c05f4514276bcc.tar.gz
jackcess-f2578a5a48195e58c2ce37b274c05f4514276bcc.zip
few minor cleanups
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/mutateops@1001 f203690c-595d-4dc9-a70b-905162fa7fd2
-rw-r--r--src/main/java/com/healthmarketscience/jackcess/IndexBuilder.java6
-rw-r--r--src/main/java/com/healthmarketscience/jackcess/Relationship.java2
2 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/com/healthmarketscience/jackcess/IndexBuilder.java b/src/main/java/com/healthmarketscience/jackcess/IndexBuilder.java
index 1f808d6..36a64dc 100644
--- a/src/main/java/com/healthmarketscience/jackcess/IndexBuilder.java
+++ b/src/main/java/com/healthmarketscience/jackcess/IndexBuilder.java
@@ -161,6 +161,12 @@ public class IndexBuilder
_indexNumber = newIndexNumber;
}
+ /**
+ * Checks that this index definition is valid.
+ *
+ * @throws IllegalArgumentException if this index definition is invalid.
+ * @usage _advanced_method_
+ */
public void validate(Set<String> tableColNames, JetFormat format) {
DatabaseImpl.validateIdentifierName(
diff --git a/src/main/java/com/healthmarketscience/jackcess/Relationship.java b/src/main/java/com/healthmarketscience/jackcess/Relationship.java
index 615f5f7..2474b52 100644
--- a/src/main/java/com/healthmarketscience/jackcess/Relationship.java
+++ b/src/main/java/com/healthmarketscience/jackcess/Relationship.java
@@ -45,6 +45,8 @@ public interface Relationship
public boolean cascadeDeletes();
+ public boolean cascadeNullOnDelete();
+
public boolean isLeftOuterJoin();
public boolean isRightOuterJoin();