xdoclet.modules.ejb.entity
public class CmpTagsHandler extends EntityTagsHandler
Version: $Revision: 1.17 $
UNKNOWN: Oct 16, 2001 namespace = "EjbCmp"
Method Summary | |
---|---|
String | dbmsColumn()
Returns the dbms column. |
String | dbmsTable()
Returns the table name for the current class.
|
String | entityCmpClass()
Returns the name of generated CMP class.
|
String | fieldName()
Returns the cmp-version 2.x compatible cmp / cmr field name for the current method.
|
void | forAllCmpEntityBeans(String template)
Evaluates the body block for each EJBean derived from EntityBean which is CMP.
|
void | forAllCmpFields(String template)
Evaluates the body block for each persistent field of current class (if entity CMP). |
static String | getEntityCmpClassFor(XClass clazz)
Gets the EntityCmpClassFor attribute of the CmpTagsHandler class
|
protected static String | getEntityCmpClassPattern()
Gets the EntityCmpClassPattern attribute of the CmpTagsHandler class
|
static String | getFieldNameFor(XMethod method)
Returns the cmp-version 2.x compatible cmp / cmr field name for the passed method.
|
void | ifEntityIsCmp(String template)
Evaluates the body block if current class is an CMP entity bean.
|
void | ifIsPersistent(String template) |
void | ifNotUsingCmp2(String template)
Evaluate the body block if not using EJB 2.0 or using EJB 2.0 but CMP version 1.x.
|
void | ifUsingCmp2(String template)
Evaluate the body block if using EJB 2.0 and CMP version 2.x.
|
static boolean | isEntityCmp(XClass clazz)
Returns true if clazz is an CMP entity bean, false otherwise. |
static boolean | isUsingCmp2Impl(XClass clazz)
Returns true if ejbspec config parameter is "2.0" and ejb:bean's cmp-version either not defined or is "2.x",
false otherwise.
|
Returns:
Throws: XDocletException
UNKNOWN: add more tags/params here
Returns:
Throws: XDocletException
UNKNOWN: add more tags/params here
Returns: The name of generated CMP class.
Throws: XDocletException
UNKNOWN: type = "content"
Returns: the field name
Throws: XDocletException
UNKNOWN: type = "content"
Parameters: template The body of the block tag
Throws: XDocletException
See Also: CmpTagsHandler
UNKNOWN: type = "block"
Parameters: template The body of the block tag
Throws: XDocletException
See Also: CmpTagsHandler PersistentTagsHandler MethodTagsHandler
UNKNOWN: type = "block"
Parameters: clazz Describe what the parameter does
Returns: The EntityCmpClassFor value
Returns: The EntityCmpClassPattern value
Parameters: method the method
Returns: the field name
Throws: XDocletException
Parameters: template The body of the block tag
Throws: XDocletException
UNKNOWN: type = "block"
Parameters: template The body of the block tag
Throws: XDocletException
See Also: CmpTagsHandler CmpTagsHandler
UNKNOWN: type = "block"
Parameters: template The body of the block tag
Throws: XDocletException
See Also: CmpTagsHandler CmpTagsHandler
UNKNOWN: type = "block"
Parameters: clazz Description of Parameter
Returns: The EntityCmp value
Throws: XDocletException
UNKNOWN: refactor this method up in superclass with isEntityBmp
Parameters: clazz
Returns: Description of the Returned Value
Throws: XDocletException