From aa2834f4ef96143fb3cf1fd26881a1172ca37c51 Mon Sep 17 00:00:00 2001 From: James Ahlborn Date: Mon, 25 Jun 2007 20:03:56 +0000 Subject: [PATCH] add Index.getName git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@149 f203690c-595d-4dc9-a70b-905162fa7fd2 --- .../com/healthmarketscience/jackcess/Index.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 { 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; -- 2.39.5