From: James Ahlborn Date: Mon, 25 Jun 2007 20:03:56 +0000 (+0000) Subject: add Index.getName X-Git-Tag: rel_1_1_9~13 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=aa2834f4ef96143fb3cf1fd26881a1172ca37c51;p=jackcess.git add Index.getName git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@149 f203690c-595d-4dc9-a70b-905162fa7fd2 --- 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;