aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/com/healthmarketscience/jackcess/IndexBuilder.java
diff options
context:
space:
mode:
authorJames Ahlborn <jtahlborn@yahoo.com>2016-08-27 04:02:40 +0000
committerJames Ahlborn <jtahlborn@yahoo.com>2016-08-27 04:02:40 +0000
commit8d88e1737d30f0017cb8fe4de6856482d38067d8 (patch)
tree681e1d271ad87fff2a910f54b1dc30e2e283f2c7 /src/main/java/com/healthmarketscience/jackcess/IndexBuilder.java
parent832fb5e6a6afb92a18da38706cf71c913743741b (diff)
downloadjackcess-8d88e1737d30f0017cb8fe4de6856482d38067d8.tar.gz
jackcess-8d88e1737d30f0017cb8fe4de6856482d38067d8.zip
implement fkref writing; more error context; make relationship name unique
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/mutateops@1012 f203690c-595d-4dc9-a70b-905162fa7fd2
Diffstat (limited to 'src/main/java/com/healthmarketscience/jackcess/IndexBuilder.java')
-rw-r--r--src/main/java/com/healthmarketscience/jackcess/IndexBuilder.java8
1 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 7822b2d..472740e 100644
--- a/src/main/java/com/healthmarketscience/jackcess/IndexBuilder.java
+++ b/src/main/java/com/healthmarketscience/jackcess/IndexBuilder.java
@@ -124,6 +124,14 @@ public class IndexBuilder
}
/**
+ * @usage _advanced_method_
+ */
+ public IndexBuilder setType(byte type) {
+ _type = type;
+ return this;
+ }
+
+ /**
* Sets this index to enforce uniqueness.
*/
public IndexBuilder setUnique() {