org.objectweb.jonas_ejb.deployment.api
Class MethodJdbcDesc

java.lang.Object
  |
  +--org.objectweb.jonas_ejb.deployment.api.MethodDesc
        |
        +--org.objectweb.jonas_ejb.deployment.api.MethodJdbcDesc

public class MethodJdbcDesc
extends MethodDesc

Class for descriptor of JDBC finder methods


Field Summary
protected  java.lang.String whereClause
           
protected  int whereClauseStatus
           
 
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, TX_MANDATORY, TX_NEVER, TX_NOT_SET, TX_NOT_SUPPORTED, TX_REQUIRED, TX_REQUIRES_NEW, TX_SUPPORTS
 
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
getClassName, getRoleName, getTxAttribute, getTxAttributeName, getTxAttributeName, getTxAttributeStatus, matchPattern, methodElementToString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

whereClause

protected java.lang.String whereClause

whereClauseStatus

protected int whereClauseStatus
Method Detail

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