java.lang.Object
org.apache.olingo.odata2.jpa.processor.api.access.JPAFunction

public class JPAFunction extends Object
A container for JPA Functions. A JPA function can be
  1. Property Access method
  2. Custom Operation (Annotated with EDM Annotation FunctionImport)
  • Constructor Details

    • JPAFunction

      public JPAFunction(Method function, Class<?>[] parameterTypes, Type returnType, Object[] args)
  • Method Details

    • getFunction

      public Method getFunction()
      The method returns the Java method.
      Returns:
      an instance of Method
    • getParameterTypes

      public Class<?>[] getParameterTypes()
      The method returns the parameter types for the Java method.
      Returns:
      an array of type Class
    • getReturnType

      public Type getReturnType()
      The method returns the return type for the Java method.
      Returns:
      an instance of Type
    • getArguments

      public Object[] getArguments()
      The method returns an array of arguments for invoking the Java method.
      Returns:
      an array of Objects