public abstract class JPAMethodContext extends Object implements JPAMethodContextView
JPAMethodContextView
,
JPQLContextType
Modifier and Type | Class and Description |
---|---|
static class |
JPAMethodContext.JPAMethodContextBuilder
The abstract class is extended by specific JPA Method Context Builder to
build JPA Method Context types.
|
Modifier and Type | Field and Description |
---|---|
protected Object |
enclosingObject |
protected ArrayList<JPAFunction> |
jpaFunction |
Constructor and Description |
---|
JPAMethodContext() |
Modifier and Type | Method and Description |
---|---|
static JPAMethodContext.JPAMethodContextBuilder |
createBuilder(JPQLContextType contextType,
Object resultsView)
the method instantiates an instance of type JPAMethodContextBuilder.
|
Object |
getEnclosingObject()
The method returns an instance of Object on which the methods/custom
operations can be executed.
|
List<JPAFunction> |
getJPAFunctionList()
The method returns list of JPA functions that can be executed on the
enclosing object.
|
protected void |
setEnclosingObject(Object enclosingObject) |
protected void |
setJpaFunction(List<JPAFunction> jpaFunctionList) |
protected Object enclosingObject
protected ArrayList<JPAFunction> jpaFunction
public Object getEnclosingObject()
JPAMethodContextView
getEnclosingObject
in interface JPAMethodContextView
public List<JPAFunction> getJPAFunctionList()
JPAMethodContextView
getJPAFunctionList
in interface JPAMethodContextView
protected void setEnclosingObject(Object enclosingObject)
protected void setJpaFunction(List<JPAFunction> jpaFunctionList)
public static final JPAMethodContext.JPAMethodContextBuilder createBuilder(JPQLContextType contextType, Object resultsView) throws ODataJPARuntimeException
contextType
- indicates the type of JPQLContextBuilder to instantiate.resultsView
- is the OData request viewJPAMethodContext.JPAMethodContextBuilder
ODataJPARuntimeException
Copyright © 2013-2017 The Apache Software Foundation. All Rights Reserved.