xdoclet.modules.ejb.entity
Class BmpTagsHandler
EntityTagsHandler
xdoclet.modules.ejb.entity.BmpTagsHandler
public class BmpTagsHandler
extends EntityTagsHandler
- Ara Abrahamian (ara_e@email.com)
String | entityBmpClass() - Returns the name of generated BMP class.
|
void | forAllBmpEntityBeans(String template) - Evaluates the body block for each EJBean derived from EntityBean which is BMP.
|
static String | getEntityBmpClassFor(XClass clazz) - Gets the EntityBmpClassFor attribute of the BmpTagsHandler class
|
protected static String | getEntityBmpClassPattern() - Gets the EntityBmpClassPattern attribute of the BmpTagsHandler class
|
void | ifEntityIsBmp(String template) - Evaluates the body block if current class is an BMP entity bean.
|
void | ifUseSoftLocking(String template) - Evaluates the body block if ejb:use-soft-locking is set for current class.
|
static boolean | isEntityBmp(XClass clazz) - Returns true if clazz is an BMP entity bean, false otherwise.
|
static boolean | useSoftLocking(XClass clazz) - Returns true if clazz has ejb:use-soft-locking tag, false otherwise.
|
entityBmpClass
public String entityBmpClass()
throws xdoclet.XDocletException
Returns the name of generated BMP class.
- The name of generated BMP class.
xdoclet.XDocletException
-
forAllBmpEntityBeans
public void forAllBmpEntityBeans(String template)
throws xdoclet.XDocletException
Evaluates the body block for each EJBean derived from EntityBean which is BMP.
template
- The body of the block tag
xdoclet.XDocletException
-
isEntityBmp(xjavadoc.XClass)
getEntityBmpClassFor
public static String getEntityBmpClassFor(XClass clazz)
throws xdoclet.XDocletException
Gets the EntityBmpClassFor attribute of the BmpTagsHandler class
clazz
- Describe what the parameter does
- The EntityBmpClassFor value
xdoclet.XDocletException
-
getEntityBmpClassPattern
protected static String getEntityBmpClassPattern()
Gets the EntityBmpClassPattern attribute of the BmpTagsHandler class
- The EntityBmpClassPattern value
ifEntityIsBmp
public void ifEntityIsBmp(String template)
throws xdoclet.XDocletException
Evaluates the body block if current class is an BMP entity bean.
template
- The body of the block tag
xdoclet.XDocletException
-
ifUseSoftLocking
public void ifUseSoftLocking(String template)
throws xdoclet.XDocletException
Evaluates the body block if ejb:use-soft-locking is set for current class.
template
- The body of the block tag
xdoclet.XDocletException
-
useSoftLocking(xjavadoc.XClass)
isEntityBmp
public static boolean isEntityBmp(XClass clazz)
throws xdoclet.XDocletException
Returns true if clazz is an BMP entity bean, false otherwise. Entity type is determined by looking at the
ejb:bean's type parameter.
clazz
- Description of Parameter
xdoclet.XDocletException
-
useSoftLocking
public static boolean useSoftLocking(XClass clazz)
Returns true if clazz has ejb:use-soft-locking tag, false otherwise.
clazz
- Description of Parameter
- Description of the Returned Value