aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Ahlborn <jtahlborn@yahoo.com>2007-06-25 20:03:56 +0000
committerJames Ahlborn <jtahlborn@yahoo.com>2007-06-25 20:03:56 +0000
commitaa2834f4ef96143fb3cf1fd26881a1172ca37c51 (patch)
treeb25a0a7336895c76823ab6b193d8d8e83e5ff78f
parentb0bc33f822e48f5973fd9f41cc123343ff5a8d02 (diff)
downloadjackcess-aa2834f4ef96143fb3cf1fd26881a1172ca37c51.tar.gz
jackcess-aa2834f4ef96143fb3cf1fd26881a1172ca37c51.zip
add Index.getName
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@149 f203690c-595d-4dc9-a70b-905162fa7fd2
-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;