org.objectweb.jonas_ejb.deployment.api
Class MethodJdbcCmp1Desc
java.lang.Object
|
+--org.objectweb.jonas_ejb.deployment.api.MethodDesc
|
+--org.objectweb.jonas_ejb.deployment.api.MethodJdbcCmp1Desc
- public class MethodJdbcCmp1Desc
- extends MethodDesc
Class to hold meta-information related to CMP v1 attributes of a method when a jdbc
data store is used.
- Author:
- Christophe Ney [cney@batisseurs.com]
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_REQUIRED, TX_REQUIRES_NEW, TX_SUPPORTS |
Constructor Summary |
MethodJdbcCmp1Desc(BeanDesc beanDesc,
java.lang.reflect.Method meth,
int index)
constructor to be used by parent node |
Method Summary |
java.lang.String |
getWhereClause()
Get 'WHERE' clause for the method |
int |
getWhereClauseStatus()
Get 'WHERE' clause status for the method |
boolean |
hasWhereClause()
Assessor for 'WHERE' clause set |
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, isFindByPrimaryKey, isFindByPrimaryKey, isFinder, isFinder, isSelect, isSelect, matchPattern, matchPattern, methodElementToString, methodElementToString, setIndex, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
whereClause
protected java.lang.String whereClause
whereClauseStatus
protected int whereClauseStatus
MethodJdbcCmp1Desc
public MethodJdbcCmp1Desc(BeanDesc beanDesc,
java.lang.reflect.Method meth,
int index)
- constructor to be used by parent node
hasWhereClause
public boolean hasWhereClause()
- Assessor for 'WHERE' clause set
- Returns:
- true if where clause has been set
getWhereClause
public java.lang.String getWhereClause()
- Get 'WHERE' clause for the method
- Returns:
- String containing 'WHERE' clause
getWhereClauseStatus
public int getWhereClauseStatus()
- Get 'WHERE' clause status for the method
toString
public java.lang.String toString()
- String representation of the object for test purpose
- Overrides:
toString
in class MethodDesc
- Returns:
- String representation of this object