@Test public void checkByEntityAnnotationResultParameterIsEmpty() throws ODataJPAModelException { IntermediateFunction func = new IntermediateDataBaseFunction(new JPADefaultEdmNameBuilder(PUNIT_NAME), helper .getStoredProcedure( helper.getEntityType(BusinessPartner.class), "CountRoles"), BusinessPartner.class, helper.schema); assertEquals(PUNIT_NAME + ".BusinessPartner", func.getEdmItem().getReturnType().getType()); }
@Override public CsdlReturnType getReturnType() { return edmFunction.getReturnType(); }
IntermediateDataBaseFunction extends IntermediateFunction implements JPADataBaseFunction { @Override public CsdlReturnType getReturnType() { return edmFunction.getReturnType(); } }
IntermediateDataBaseFunction extends IntermediateFunction implements JPADataBaseFunction { @Override public CsdlReturnType getReturnType() { return edmFunction.getReturnType(); } IntermediateDataBaseFunction(final JPAEdmNameBuilder nameBuilder, final EdmFunction jpaFunction,
      final Class<?> definingPOJO, final IntermediateSchema schema); }
IntermediateDataBaseFunction extends IntermediateFunction implements JPADataBaseFunction { @Override public CsdlReturnType getReturnType() { return edmFunction.getReturnType(); } IntermediateDataBaseFunction(final JPAEdmNameBuilder nameBuilder, final EdmFunction jpaFunction,
      final Class<?> definingPOJO, final IntermediateSchema schema); @Override String getDBName(); @Override EdmFunctionType getFunctionType(); @Override List<JPAParameter> getParameter(); @Override JPAParameter getParameter(final String internalName); @Override JPAOperationResultParameter getResultParameter(); @Override CsdlReturnType getReturnType(); }
IntermediateDataBaseFunction extends IntermediateFunction implements JPADataBaseFunction { @Override public CsdlReturnType getReturnType() { return edmFunction.getReturnType(); } IntermediateDataBaseFunction(final JPAEdmNameBuilder nameBuilder, final EdmFunction jpaFunction,
      final Class<?> definingPOJO, final IntermediateSchema schema); @Override String getDBName(); @Override EdmFunctionType getFunctionType(); @Override List<JPAParameter> getParameter(); @Override JPAParameter getParameter(final String internalName); @Override JPAOperationResultParameter getResultParameter(); @Override CsdlReturnType getReturnType();  }