xdoclet.modules.ejb.entity
public class BmpTagsHandler extends EntityTagsHandler
ALL, LOCAL_SUFFIX, SERVICE_ENDPOINT, SERVICE_ENDPOINT_SUFFIX
FOR_CLASS, FOR_CONSTRUCTOR, FOR_FIELD, FOR_METHOD, PARAMETER_DELIMITER
Constructor and Description |
---|
BmpTagsHandler() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
entityBmpClass()
Returns the name of generated BMP class.
|
void |
forAllBmpEntityBeans(java.lang.String template)
Evaluates the body block for each EJBean derived from EntityBean which is BMP.
|
static java.lang.String |
getEntityBmpClassFor(xjavadoc.XClass clazz)
Gets the EntityBmpClassFor attribute of the BmpTagsHandler class
|
protected static java.lang.String |
getEntityBmpClassPattern()
Gets the EntityBmpClassPattern attribute of the BmpTagsHandler class
|
void |
ifEntityIsBmp(java.lang.String template)
Evaluates the body block if current class is an BMP entity bean.
|
void |
ifUseSoftLocking(java.lang.String template)
Evaluates the body block if ejb:use-soft-locking is set for current class.
|
static boolean |
isEntityBmp(xjavadoc.XClass clazz)
Returns true if clazz is an BMP entity bean, false otherwise.
|
static boolean |
useSoftLocking(xjavadoc.XClass clazz)
Returns true if clazz has ejb:use-soft-locking tag, false otherwise.
|
forAllEjbSelectMethods, forAllEntityBeans, ifEntity, isEjbSelectMethod, isEntity, persistenceType, reentrant
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
getXJavaDoc, setXJavaDoc
public static java.lang.String getEntityBmpClassFor(xjavadoc.XClass clazz) throws XDocletException
clazz
- Describe what the parameter doesXDocletException
public static boolean isEntityBmp(xjavadoc.XClass clazz) throws XDocletException
clazz
- Description of ParameterXDocletException
public static boolean useSoftLocking(xjavadoc.XClass clazz)
clazz
- Description of Parameterprotected static java.lang.String getEntityBmpClassPattern()
public java.lang.String entityBmpClass() throws XDocletException
XDocletException
public void ifEntityIsBmp(java.lang.String template) throws XDocletException
template
- The body of the block tagXDocletException
public void forAllBmpEntityBeans(java.lang.String template) throws XDocletException
template
- The body of the block tagXDocletException
isEntityBmp(xjavadoc.XClass)
public void ifUseSoftLocking(java.lang.String template) throws XDocletException
template
- The body of the block tagXDocletException
useSoftLocking(xjavadoc.XClass)