@Test public void testFunctionImportComplexTypeMany() { VARIANT = 10; build(); List<FunctionImport> functionImportList = jpaEdmfunctionImport.getConsistentFunctionImportList(); assertEquals(functionImportList.size(), 1); FunctionImport functionImport = functionImportList.get(0); assertEquals(functionImport.getName(), "method10"); assertNotNull(functionImport.getMapping()); ReturnType returnType = functionImport.getReturnType(); assertNotNull(returnType); assertEquals(EdmMultiplicity.MANY, returnType.getMultiplicity()); assertEquals(returnType.getTypeName().toString(), ODataJPAContextMock.PERSISTENCE_UNIT_NAME + "." + JPACustomProcessorMock.edmName); }
@Override public List<FunctionImport> getConsistentFunctionImportList() { return consistentFunctionImportList; }
JPAEdmFunctionImport extends JPAEdmBaseViewImpl implements JPAEdmFunctionImportView { @Override public List<FunctionImport> getConsistentFunctionImportList() { return consistentFunctionImportList; } }
JPAEdmFunctionImport extends JPAEdmBaseViewImpl implements JPAEdmFunctionImportView { @Override public List<FunctionImport> getConsistentFunctionImportList() { return consistentFunctionImportList; } JPAEdmFunctionImport(final JPAEdmSchemaView view); }
JPAEdmFunctionImport extends JPAEdmBaseViewImpl implements JPAEdmFunctionImportView { @Override public List<FunctionImport> getConsistentFunctionImportList() { return consistentFunctionImportList; } JPAEdmFunctionImport(final JPAEdmSchemaView view); @Override JPAEdmBuilder getBuilder(); @Override List<FunctionImport> getConsistentFunctionImportList(); }
JPAEdmFunctionImport extends JPAEdmBaseViewImpl implements JPAEdmFunctionImportView { @Override public List<FunctionImport> getConsistentFunctionImportList() { return consistentFunctionImportList; } JPAEdmFunctionImport(final JPAEdmSchemaView view); @Override JPAEdmBuilder getBuilder(); @Override List<FunctionImport> getConsistentFunctionImportList();  }