|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.jdo.spi.persistence.support.ejb.ejbc.AbstractMethodHelper
com.sun.jdo.spi.persistence.support.ejb.ejbc.MethodHelper
public class MethodHelper
This is a subclass of AbstractMethodHelper
which provides overridden method implementations based on an SunONE
implementation.
| Field Summary |
|---|
| Fields inherited from class com.sun.jdo.spi.persistence.support.ejb.ejbc.AbstractMethodHelper |
|---|
LOCAL_RETURN, NO_RETURN, REMOTE_RETURN |
| Constructor Summary | |
|---|---|
MethodHelper(IASEjbCMPEntityDescriptor descriptor)
Creates a new instance of MethodHelper |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.sun.jdo.spi.persistence.support.ejb.ejbc.AbstractMethodHelper |
|---|
getCreateMethods, getDescriptor, getFinders, getLocalHome, getMethodNames, getQueryDescriptor, getQueryReturnType, getQueryString, getRemoteHome, getSelectors, setFinders, setSelectors |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MethodHelper(IASEjbCMPEntityDescriptor descriptor)
descriptor - the IASEjbCMPEntityDescriptor which defines the
information for this bean.| Method Detail |
|---|
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 filter
public 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 declaration
public 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 declaration
public 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 declaration
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||