aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/com/healthmarketscience/jackcess/Index.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/com/healthmarketscience/jackcess/Index.java')
-rw-r--r--src/java/com/healthmarketscience/jackcess/Index.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/java/com/healthmarketscience/jackcess/Index.java b/src/java/com/healthmarketscience/jackcess/Index.java
index 3f18a33..9512a4e 100644
--- a/src/java/com/healthmarketscience/jackcess/Index.java
+++ b/src/java/com/healthmarketscience/jackcess/Index.java
@@ -221,6 +221,19 @@ public class Index implements Comparable<Index> {
public void setRowCount(int rowCount) {
_rowCount = rowCount;
}
+
+ /**
+ * Note, there may still be some issues around the name of an index, this
+ * information may not be correct. I've done a variety of testing comparing
+ * the index name to what ms access shows, and i think the data is being
+ * parsed correctly, but sometimes access comes up with a completely
+ * different index name, hence my lack of confidence in this method. (of
+ * course, access could also just be doing some monkeying under the
+ * hood...).
+ */
+ public String getName() {
+ return _name;
+ }
public void setName(String name) {
_name = name;