@Test public void testLoadQueryIndex() throws Exception { Map index = helper.loadQueryIndex("ExhibitType"); assertNotNull(index); assertTrue(index.containsKey("FetchAll")); }
protected Map loadQueryIndex(String entityName) throws Exception { InputStream queryIn = null; try { queryIn = openQueryStream(entityName); } catch (IOException ioex) { return Collections.EMPTY_MAP; } try { plistParser.ReInit(queryIn); return (Map) plistParser.propertyList(); } finally { queryIn.close(); } }
EOModelHelper { protected Map loadQueryIndex(String entityName) throws Exception { InputStream queryIn = null; try { queryIn = openQueryStream(entityName); } catch (IOException ioex) { return Collections.EMPTY_MAP; } try { plistParser.ReInit(queryIn); return (Map) plistParser.propertyList(); } finally { queryIn.close(); } } }
EOModelHelper { protected Map loadQueryIndex(String entityName) throws Exception { InputStream queryIn = null; try { queryIn = openQueryStream(entityName); } catch (IOException ioex) { return Collections.EMPTY_MAP; } try { plistParser.ReInit(queryIn); return (Map) plistParser.propertyList(); } finally { queryIn.close(); } } EOModelHelper(URL modelUrl); }
EOModelHelper { protected Map loadQueryIndex(String entityName) throws Exception { InputStream queryIn = null; try { queryIn = openQueryStream(entityName); } catch (IOException ioex) { return Collections.EMPTY_MAP; } try { plistParser.ReInit(queryIn); return (Map) plistParser.propertyList(); } finally { queryIn.close(); } } EOModelHelper(URL modelUrl); String javaTypeForEOModelerType(String valueClassName, String valueType); DataMap getDataMap(); URL getModelUrl(); Iterator modelNames(); List modelNamesAsList(); Map getPrototypeAttributeMapFor(String aPrototypeAttributeName); Map entityPListMap(String entityName); Iterator queryNames(String entityName); Map queryPListMap(String entityName, String queryName); String entityClass(String entityName, boolean getClientClass); }
EOModelHelper { protected Map loadQueryIndex(String entityName) throws Exception { InputStream queryIn = null; try { queryIn = openQueryStream(entityName); } catch (IOException ioex) { return Collections.EMPTY_MAP; } try { plistParser.ReInit(queryIn); return (Map) plistParser.propertyList(); } finally { queryIn.close(); } } EOModelHelper(URL modelUrl); String javaTypeForEOModelerType(String valueClassName, String valueType); DataMap getDataMap(); URL getModelUrl(); Iterator modelNames(); List modelNamesAsList(); Map getPrototypeAttributeMapFor(String aPrototypeAttributeName); Map entityPListMap(String entityName); Iterator queryNames(String entityName); Map queryPListMap(String entityName, String queryName); String entityClass(String entityName, boolean getClientClass);  }