From f2578a5a48195e58c2ce37b274c05f4514276bcc Mon Sep 17 00:00:00 2001 From: James Ahlborn Date: Mon, 27 Jun 2016 01:08:05 +0000 Subject: [PATCH] few minor cleanups git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/mutateops@1001 f203690c-595d-4dc9-a70b-905162fa7fd2 --- .../java/com/healthmarketscience/jackcess/IndexBuilder.java | 6 ++++++ .../java/com/healthmarketscience/jackcess/Relationship.java | 2 ++ 2 files changed, 8 insertions(+) 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 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(); -- 2.39.5