xdoclet.modules.ejb.entity
Class EntityTagsHandler
java.lang.Object
xdoclet.template.TemplateTagHandler
xdoclet.XDocletTagSupport
public class EntityTagsHandler
- 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.
|
beanType , choosePackage , concreteFullClassName , ejbExternalRefName , ejbName , ejbRefName , ejbRefName , extendsFromFor , forAllBeans , getDependentClassFor , getDependentClassTagName , getEjb , getEjbIdFor , getEjbNameFor , getEjbSpec , getShortEjbNameFor , hasTransaction , id , ifIsAConcreteEJBean , ifLocalEjb , ifNotLocalEjb , ifNotRemoteEjb , ifNotServiceEndpointEjb , ifRemoteEjb , ifServiceEndpointEjb , isAConcreteEJBean , isEjb , isLocalEjb , isOnlyLocalEjb , isOnlyRemoteEjb , isOnlyServiceEndpointEjb , isRemoteEjb , isServiceEndpointEjb , prefixWithEjbSlash , shortEjbName , shouldTraverseSuperclassForDependentClass , symbolicClassName |
delimit , expandClassName , generate , getCurrentClass , getCurrentClassTag , getCurrentConstructor , getCurrentField , getCurrentFieldTag , getCurrentMethod , getCurrentMethodTag , getCurrentPackage , getDocletContext , getEngine , getExpandedDelimitedTagValue , getTagValue , getTagValue , getTagValue , hasHavingClassTag , hasTag , isTagValueEqual , mandatoryParamNotFound , mandatoryTemplateTagParamNotFound , modifiers , popCurrentClass , pushCurrentClass , setCurrentClass , setCurrentClassTag , setCurrentConstructor , setCurrentField , setCurrentFieldTag , setCurrentMethod , setCurrentMethodTag , setCurrentPackage |
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)