Class JPAFunction
- 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- Property Access method
- Custom Operation (Annotated with EDM Annotation FunctionImport)
-
-
Constructor Summary
Constructors Constructor Description JPAFunction(Method function, Class<?>[] parameterTypes, Type returnType, Object[] args)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object[]getArguments()The method returns an array of arguments for invoking the Java method.MethodgetFunction()The method returns the Java method.Class<?>[]getParameterTypes()The method returns the parameter types for the Java method.TypegetReturnType()The method returns the return type for the Java method.
-
-
-
Method Detail
-
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
-
-