xdoclet.modules.ejb.entity

Class EntityTagsHandler

public class EntityTagsHandler extends EjbTagsHandler

Version: $Revision: 1.12 $

Author: Ara Abrahamian (ara_e@email.com)

UNKNOWN: Oct 16, 2001 namespace = "EjbEntity"

Method Summary
voidforAllEjbSelectMethods(String template)
Evaluates the body block for each ejbSelect method.
voidforAllEntityBeans(String template)
Evaluates the body block for each EJBean derived from EntityBean.
voidifEntity(String template)
Evaluate the body block if current class is of an entity type.
static booleanisEjbSelectMethod(XMethod method)
static booleanisEntity(XClass clazz)
Returns true if clazz is an entity bean, false otherwise.
StringpersistenceType()
Returns the persistent type of current bean.
Stringreentrant()
Returns True if ejb:bean reentrant is true, False otherwise.

Method Detail

forAllEjbSelectMethods

public void forAllEjbSelectMethods(String template)
Evaluates the body block for each ejbSelect method.

Parameters: template The body of the block tag

Throws: XDocletException

See Also: EntityTagsHandler

UNKNOWN: type = "block"

forAllEntityBeans

public void forAllEntityBeans(String template)
Evaluates the body block for each EJBean derived from EntityBean.

Parameters: template The body of the block tag

Throws: XDocletException

See Also: EntityTagsHandler

UNKNOWN: type = "block"

ifEntity

public void ifEntity(String template)
Evaluate the body block if current class is of an entity type.

Parameters: template The body of the block tag

Throws: XDocletException

See Also: EntityTagsHandler

UNKNOWN: type = "block"

isEjbSelectMethod

public static boolean isEjbSelectMethod(XMethod method)

isEntity

public static boolean isEntity(XClass clazz)
Returns true if clazz is an entity bean, false otherwise.

Parameters: clazz Description of Parameter

Returns: The Entity value

persistenceType

public String persistenceType()
Returns the persistent type of current bean.

Returns: "Container" or "Bean".

Throws: XDocletException

See Also: CmpTagsHandler BmpTagsHandler

UNKNOWN: type = "content"

reentrant

public String reentrant()
Returns True if ejb:bean reentrant is true, False otherwise. It does the case conversion trick from true to True and false to False.

Returns: Description of the Returned Value

Throws: XDocletException

See Also: EntityTagsHandler

UNKNOWN: type = "content"