org.ow2.jonas.deployment.ejb
Class MethodJdbcCmp1Desc

java.lang.Object
  extended by org.ow2.jonas.deployment.ejb.MethodDesc
      extended by org.ow2.jonas.deployment.ejb.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] : Initial developer, Helene Joanin

Field Summary
protected  String whereClause
           
protected  int whereClauseStatus
           
 
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
 
Constructor Summary
MethodJdbcCmp1Desc(BeanDesc beanDesc, Method meth, Class classDef, int index)
          constructor to be used by parent node
 
Method Summary
 String getWhereClause()
          Get 'WHERE' clause for the method
 int getWhereClauseStatus()
          Get 'WHERE' clause status for the method
 boolean hasWhereClause()
          Assessor for 'WHERE' clause set
 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

whereClause

protected String whereClause

whereClauseStatus

protected int whereClauseStatus
Constructor Detail

MethodJdbcCmp1Desc

public MethodJdbcCmp1Desc(BeanDesc beanDesc,
                          Method meth,
                          Class classDef,
                          int index)
constructor to be used by parent node

Method Detail

hasWhereClause

public boolean hasWhereClause()
Assessor for 'WHERE' clause set

Returns:
true if where clause has been set

getWhereClause

public 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 String toString()
String representation of the object for test purpose

Overrides:
toString in class MethodDesc
Returns:
String representation of this object


Copyright © 2010 OW2 Consortium. All Rights Reserved.