|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas_ejb.deployment.api.MethodDesc org.objectweb.jonas_ejb.deployment.api.MethodCmp2Desc
public class MethodCmp2Desc
Class to hold meta-information related to CMP2 find/select methods
Field Summary | |
---|---|
protected EntityDesc |
entityDesc
|
protected java.lang.String |
query
|
protected ASTEJBQL |
queryNode
|
protected EjbqlQueryTreeHolder |
queryTreeHolder
|
protected boolean |
resultTypeMappingRemote
|
Fields inherited from class org.objectweb.jonas_ejb.deployment.api.MethodDesc |
---|
APPLY_TO, APPLY_TO_BEAN, APPLY_TO_BEAN_METHOD, APPLY_TO_BEAN_METHOD_NAME, APPLY_TO_CLASS, APPLY_TO_CLASS_METHOD, APPLY_TO_CLASS_METHOD_NAME, APPLY_TO_NOTHING, beanDesc, TX_MANDATORY, TX_NEVER, TX_NOT_SET, TX_NOT_SUPPORTED, TX_NULL, TX_REQUIRED, TX_REQUIRES_NEW, TX_STR_DEFAULT_VALUE, TX_STR_DEFAULT_VALUE_4_MDB, TX_SUPPORTS |
Method Summary | |
---|---|
boolean |
getPrefetch()
Get the prefetch tag value for this method. |
java.lang.String |
getQuery()
get EJB-QL query when defined |
EjbqlQueryTreeHolder |
getQueryTreeHolder(org.objectweb.jorm.api.PMapper mapper)
return a query tree holder allowing evaluation of the query |
boolean |
isResultTypeMappingRemote()
get result type mapping state (remote/local) |
static java.lang.String |
queryMethodElementToString(QueryMethod m)
String representation of the given element |
void |
setQuery(java.lang.String query)
set EJB-QL query. |
void |
setResultTypeMapping(java.lang.String resultTypeMapping)
set the state of resultTypeMappingRemote |
java.lang.String |
toString()
String representation of the object for test purpose |
Methods inherited from class org.objectweb.jonas_ejb.deployment.api.MethodDesc |
---|
getBeanDesc, getIndex, getMethod, getRoleName, getTxAttribute, getTxAttributeName, getTxAttributeName, getTxAttributeStatus, isEjbSelect, isEjbSelect, isExcluded, isFindByPrimaryKey, isFindByPrimaryKey, isFinder, isFinder, matchPattern, matchPattern, methodElementToString, methodElementToString, setExcluded, setIndex, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.String query
protected ASTEJBQL queryNode
protected EjbqlQueryTreeHolder queryTreeHolder
protected boolean resultTypeMappingRemote
protected EntityDesc entityDesc
Method Detail |
---|
public java.lang.String getQuery()
public void setQuery(java.lang.String query) throws ParseException
ParseException
public EjbqlQueryTreeHolder getQueryTreeHolder(org.objectweb.jorm.api.PMapper mapper) throws DeploymentDescException
DeploymentDescException
public boolean isResultTypeMappingRemote()
public void setResultTypeMapping(java.lang.String resultTypeMapping) throws DeploymentDescException
DeploymentDescException
public boolean getPrefetch()
public static java.lang.String queryMethodElementToString(QueryMethod m)
m
- an element public java.lang.String toString()
toString
in class MethodDesc
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |