xdoclet.modules.ejb.entity
Class EntityTagsHandler
EjbTagsHandlerxdoclet.modules.ejb.entity.EntityTagsHandler
public class EntityTagsHandler
extends EjbTagsHandler
- Ara Abrahamian (ara_e@email.com)
void | forAllEjbSelectMethods(String template)- Evaluates the body block for each ejbSelect method.
|
void | forAllEntityBeans(String template)- Evaluates the body block for each EJBean derived from EntityBean.
|
void | ifEntity(String template)- Evaluate the body block if current class is of an entity type.
|
static boolean | isEjbSelectMethod(XMethod method)
|
static boolean | isEntity(XClass clazz)- Returns true if clazz is an entity bean, false otherwise.
|
String | persistenceType()- Returns the persistent type of current bean.
|
String | reentrant()- Returns True if ejb:bean reentrant is true, False otherwise.
|
forAllEjbSelectMethods
public void forAllEjbSelectMethods(String template)
throws xdoclet.XDocletException Evaluates the body block for each ejbSelect method.
template - The body of the block tag
xdoclet.XDocletException -
isEntity(xjavadoc.XClass)
forAllEntityBeans
public void forAllEntityBeans(String template)
throws xdoclet.XDocletException Evaluates the body block for each EJBean derived from EntityBean.
template - The body of the block tag
xdoclet.XDocletException -
isEntity(xjavadoc.XClass)
ifEntity
public void ifEntity(String template)
throws xdoclet.XDocletException Evaluate the body block if current class is of an entity type.
template - The body of the block tag
xdoclet.XDocletException -
isEntity(xjavadoc.XClass)
isEjbSelectMethod
public static boolean isEjbSelectMethod(XMethod method)
isEntity
public static boolean isEntity(XClass clazz)
Returns true if clazz is an entity bean, false otherwise.
clazz - Description of Parameter
persistenceType
public String persistenceType()
throws xdoclet.XDocletException Returns the persistent type of current bean.
xdoclet.XDocletException -
xdoclet.modules.ejb.entity.CmpTagsHandler.isEntityCmp(xjavadoc.XClass), xdoclet.modules.ejb.entity.BmpTagsHandler.isEntityBmp(xjavadoc.XClass)
reentrant
public String reentrant()
throws xdoclet.XDocletException Returns True if ejb:bean reentrant is true, False otherwise. It does the case conversion trick from true to True
and false to False.
- Description of the Returned Value
xdoclet.XDocletException -
isEntity(xjavadoc.XClass)