public class MethodHelper extends AbstractMethodHelper
AbstractMethodHelper
which provides overridden method implementations based on an SunONE
implementation.LOCAL_RETURN, NO_RETURN, REMOTE_RETURN| Constructor and Description |
|---|
MethodHelper(org.glassfish.ejb.deployment.descriptor.IASEjbCMPEntityDescriptor descriptor)
Creates a new instance of MethodHelper
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
categorizeMethods()
Reads all known methods and sorts them by name into specific
Collections for further processing.
|
String |
getJDOFilterExpression(Method method)
Gets the jdo filter expression associated with the specified method
if it exists.
|
String |
getJDOOrderingSpecification(Method method)
Gets the jdo ordering specification associated with the specified
method if it exists.
|
String |
getJDOParameterDeclaration(Method method)
Gets the jdo parameter declaration associated with the specified
method if it exists.
|
String |
getJDOVariableDeclaration(Method method)
Gets the jdo variables declaration associated with the specified
method if it exists.
|
boolean |
isQueryPrefetchEnabled(Method method)
Returns
true if prefetch is enabled for the specified
method, false otherwise. |
getCreateMethods, getDescriptor, getFinders, getLocalHome, getMethodNames, getQueryDescriptor, getQueryReturnType, getQueryString, getRemoteHome, getSelectors, setFinders, setSelectorspublic MethodHelper(org.glassfish.ejb.deployment.descriptor.IASEjbCMPEntityDescriptor descriptor)
descriptor - the IASEjbCMPEntityDescriptor which defines the
information for this bean.protected void categorizeMethods()
categorizeMethods in class AbstractMethodHelperpublic boolean isQueryPrefetchEnabled(Method method)
true if prefetch is enabled for the specified
method, false otherwise. Prefetch is enabled by default.isQueryPrefetchEnabled in class AbstractMethodHelpermethod - the java.lang.reflect.Method object used to find the
prefetch setting.public String getJDOFilterExpression(Method method)
AbstractMethodHelper.getQueryString(java.lang.reflect.Method) for CMP 2.0.getJDOFilterExpression in class AbstractMethodHelpermethod - the java.lang.reflect.Method object used to find the
query filterpublic String getJDOParameterDeclaration(Method method)
AbstractMethodHelper.getQueryString(java.lang.reflect.Method) for CMP 2.0.getJDOParameterDeclaration in class AbstractMethodHelpermethod - the java.lang.reflect.Method object used to find the
parameter declarationpublic String getJDOVariableDeclaration(Method method)
AbstractMethodHelper.getQueryString(java.lang.reflect.Method) for CMP 2.0.getJDOVariableDeclaration in class AbstractMethodHelpermethod - the java.lang.reflect.Method object used to find the
parameter declarationpublic String getJDOOrderingSpecification(Method method)
AbstractMethodHelper.getQueryString(java.lang.reflect.Method) for CMP 2.0.getJDOOrderingSpecification in class AbstractMethodHelpermethod - the java.lang.reflect.Method object used to find the
parameter declarationCopyright © 2017–2019 Eclipse Foundation. All rights reserved.