ALF-11030: Create object graph from real database schema

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31625 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Matt Ward
2011-11-01 19:19:45 +00:00
parent 8e3b917505
commit 68997e630a
13 changed files with 727 additions and 9 deletions

View File

@@ -162,7 +162,10 @@ public class XMLToSchema extends DefaultHandler
}
else if (qName.equals(XML.EL_INDEX))
{
dboStack.push(new Index(atts.getValue(XML.ATTR_NAME)));
Index index = new Index(atts.getValue(XML.ATTR_NAME));
boolean unique = Boolean.parseBoolean(atts.getValue(XML.ATTR_UNIQUE));
index.setUnique(unique);
dboStack.push(index);
}
else if (qName.equals(XML.EL_SEQUENCE))
{