@Test public void testFunctionImportCache() throws EdmException { assertEquals(edm.getFunctionImports(), edm.getFunctionImports()); }
@Override public List<EdmFunctionImport> getFunctionImports() throws EdmException { try { if (edmFunctionImports == null) { edmFunctionImports = createFunctionImports(); } } catch (EdmException e) { throw e; } catch (ODataException e) { throw new EdmException(EdmException.COMMON, e); } return edmFunctionImports; }
EdmImpl implements Edm { @Override public List<EdmFunctionImport> getFunctionImports() throws EdmException { try { if (edmFunctionImports == null) { edmFunctionImports = createFunctionImports(); } } catch (EdmException e) { throw e; } catch (ODataException e) { throw new EdmException(EdmException.COMMON, e); } return edmFunctionImports; } }
EdmImpl implements Edm { @Override public List<EdmFunctionImport> getFunctionImports() throws EdmException { try { if (edmFunctionImports == null) { edmFunctionImports = createFunctionImports(); } } catch (EdmException e) { throw e; } catch (ODataException e) { throw new EdmException(EdmException.COMMON, e); } return edmFunctionImports; } EdmImpl(final EdmServiceMetadata edmServiceMetadata); }
EdmImpl implements Edm { @Override public List<EdmFunctionImport> getFunctionImports() throws EdmException { try { if (edmFunctionImports == null) { edmFunctionImports = createFunctionImports(); } } catch (EdmException e) { throw e; } catch (ODataException e) { throw new EdmException(EdmException.COMMON, e); } return edmFunctionImports; } EdmImpl(final EdmServiceMetadata edmServiceMetadata); @Override EdmEntityContainer getEntityContainer(final String name); @Override EdmEntityType getEntityType(final String namespaceOrAlias, final String name); @Override EdmComplexType getComplexType(final String namespaceOrAlias, final String name); @Override EdmAssociation getAssociation(final String namespaceOrAlias, final String name); @Override EdmServiceMetadata getServiceMetadata(); @Override EdmEntityContainer getDefaultEntityContainer(); @Override List<EdmEntitySet> getEntitySets(); @Override List<EdmFunctionImport> getFunctionImports(); }
EdmImpl implements Edm { @Override public List<EdmFunctionImport> getFunctionImports() throws EdmException { try { if (edmFunctionImports == null) { edmFunctionImports = createFunctionImports(); } } catch (EdmException e) { throw e; } catch (ODataException e) { throw new EdmException(EdmException.COMMON, e); } return edmFunctionImports; } EdmImpl(final EdmServiceMetadata edmServiceMetadata); @Override EdmEntityContainer getEntityContainer(final String name); @Override EdmEntityType getEntityType(final String namespaceOrAlias, final String name); @Override EdmComplexType getComplexType(final String namespaceOrAlias, final String name); @Override EdmAssociation getAssociation(final String namespaceOrAlias, final String name); @Override EdmServiceMetadata getServiceMetadata(); @Override EdmEntityContainer getDefaultEntityContainer(); @Override List<EdmEntitySet> getEntitySets(); @Override List<EdmFunctionImport> getFunctionImports();  }