|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.deployment.ejb.MethodDesc org.ow2.jonas.deployment.ejb.MethodCmp2Desc
public class MethodCmp2Desc
Class to hold meta-information related to CMP2 find/select methods
Field Summary | |
---|---|
protected EntityDesc |
entityDesc
|
protected String |
query
|
protected ASTEJBQL |
queryNode
|
protected boolean |
resultTypeMappingRemote
|
Fields inherited from class org.ow2.jonas.deployment.ejb.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. |
String |
getQuery()
get EJB-QL query when defined |
ASTEJBQL |
getQueryNode()
|
boolean |
isResultTypeMappingRemote()
get result type mapping state (remote/local) |
static String |
queryMethodElementToString(QueryMethod m)
String representation of the given element |
void |
setQuery(String query)
set EJB-QL query. |
void |
setResultTypeMapping(String resultTypeMapping)
set the state of resultTypeMappingRemote |
String |
toString()
String representation of the object for test purpose |
Methods inherited from class org.ow2.jonas.deployment.ejb.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 String query
protected ASTEJBQL queryNode
protected boolean resultTypeMappingRemote
protected EntityDesc entityDesc
Method Detail |
---|
public String getQuery()
public void setQuery(String query) throws ParseException
ParseException
public ASTEJBQL getQueryNode()
public boolean isResultTypeMappingRemote()
public void setResultTypeMapping(String resultTypeMapping) throws DeploymentDescException
DeploymentDescException
public boolean getPrefetch()
public static String queryMethodElementToString(QueryMethod m)
m
- an element public String toString()
toString
in class MethodDesc
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |