@Test public void returnType() throws Exception { EdmTyped returnType = edmFunctionImport.getReturnType(); assertNotNull(returnType); assertEquals(EdmSimpleTypeKind.String.getFullQualifiedName().getName(), returnType.getType().getName()); assertEquals(EdmMultiplicity.ONE, returnType.getMultiplicity()); }
@Override public EdmTyped getReturnType() throws EdmException { if (edmReturnType == null) { final ReturnType returnType = functionImport.getReturnType(); if (returnType != null) { edmReturnType = new EdmTypedImplProv(edm, functionImport.getName(), returnType.getTypeName(), returnType.getMultiplicity()); } } return edmReturnType; }
EdmFunctionImportImplProv extends EdmNamedImplProv implements EdmFunctionImport, EdmAnnotatable { @Override public EdmTyped getReturnType() throws EdmException { if (edmReturnType == null) { final ReturnType returnType = functionImport.getReturnType(); if (returnType != null) { edmReturnType = new EdmTypedImplProv(edm, functionImport.getName(), returnType.getTypeName(), returnType.getMultiplicity()); } } return edmReturnType; } }
EdmFunctionImportImplProv extends EdmNamedImplProv implements EdmFunctionImport, EdmAnnotatable { @Override public EdmTyped getReturnType() throws EdmException { if (edmReturnType == null) { final ReturnType returnType = functionImport.getReturnType(); if (returnType != null) { edmReturnType = new EdmTypedImplProv(edm, functionImport.getName(), returnType.getTypeName(), returnType.getMultiplicity()); } } return edmReturnType; } EdmFunctionImportImplProv(final EdmImplProv edm, final FunctionImport functionImport,
      final EdmEntityContainer edmEntityContainer); }
EdmFunctionImportImplProv extends EdmNamedImplProv implements EdmFunctionImport, EdmAnnotatable { @Override public EdmTyped getReturnType() throws EdmException { if (edmReturnType == null) { final ReturnType returnType = functionImport.getReturnType(); if (returnType != null) { edmReturnType = new EdmTypedImplProv(edm, functionImport.getName(), returnType.getTypeName(), returnType.getMultiplicity()); } } return edmReturnType; } EdmFunctionImportImplProv(final EdmImplProv edm, final FunctionImport functionImport,
      final EdmEntityContainer edmEntityContainer); @Override EdmParameter getParameter(final String name); @Override List<String> getParameterNames(); @Override EdmEntitySet getEntitySet(); @Override String getHttpMethod(); @Override EdmTyped getReturnType(); @Override EdmEntityContainer getEntityContainer(); @Override EdmAnnotations getAnnotations(); @Override EdmMapping getMapping(); }
EdmFunctionImportImplProv extends EdmNamedImplProv implements EdmFunctionImport, EdmAnnotatable { @Override public EdmTyped getReturnType() throws EdmException { if (edmReturnType == null) { final ReturnType returnType = functionImport.getReturnType(); if (returnType != null) { edmReturnType = new EdmTypedImplProv(edm, functionImport.getName(), returnType.getTypeName(), returnType.getMultiplicity()); } } return edmReturnType; } EdmFunctionImportImplProv(final EdmImplProv edm, final FunctionImport functionImport,
      final EdmEntityContainer edmEntityContainer); @Override EdmParameter getParameter(final String name); @Override List<String> getParameterNames(); @Override EdmEntitySet getEntitySet(); @Override String getHttpMethod(); @Override EdmTyped getReturnType(); @Override EdmEntityContainer getEntityContainer(); @Override EdmAnnotations getAnnotations(); @Override EdmMapping getMapping();  }