Implemented in class xdoclet.modules.ejb.entity.PersistentTagsHandler.
Evaluates the body if the class has at least one primary key field.
Evaluates the body if the class has at least one persistent field.
Evaluates the body for each persistent field. If only-pk="true" then use only primary keys, if not-pk="true" then use only persistent fields that are not primary keys. By default use all regardless of being primary key field or not.
[superclasses] |
Include persistent fields of superclasses. True by default. Valid Values = {true,false} |
[valueobject] |
If present, only loop over fields with a matching \@ejb.value-object tag. |
[only-pk] |
If true, only loop over the persistent fields that are in the primary key. False by default. Valid Values = {true,false} |
[not-pk] |
If true, only loop over the persistent fields that are not in the primary key. False by default. Valid Values = {true,false} |
Evaluate the body block if using EJB 2.0 and CMP version 2.x.
Evaluate the body block if not using EJB 2.0 or using EJB 2.0 but CMP version 1.x.
Evaluates the body block if current class is an CMP entity bean.
Evaluates the body block for each EJBean derived from EntityBean which is CMP.
Evaluates the body block for each persistent field of current class (if entity CMP). Looks at super classes as well. Searches for the getter methods which has ejb:persistent-field defined.
Evaluate the body block if current class is of an entity type.
Evaluates the body block for each EJBean derived from EntityBean.
Evaluates the body block for each ejbSelect
Evaluates the body block for each EJBean derived from one of the three EJB types: EntityBean, SessionBean or MessageDrivenBean.
Evaluates the body block if current bean is a concrete bean meaning the generate parameter of ejb:bean is either not specified or equals to "true", otherwise the bean is just an abstract base class bean not meant to be used as a EJBean but serve as the base for other EJBeans.
Returns a string containing comma-separated list of persistent fields without their types in fieldname="value" format.
Returns a string containing comma-separated list of persistent fields with their types.
Returns a string containing comma-separated list of persistent fields without their types in fieldname="value" format.
Returns the name of generated CMP class.
Returns the cmp-version 2.x compatible cmp / cmr field name for the current method.
Returns the persistent type of current bean.
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 the name of EJB ref.
Returns the name of EJB ref.
Returns the name of current EJB bean.
[prefixWithEjbSlash] |
Specifies whether to prefix it with ejb/ or not. False by default. Valid Values = {true,false} |
Returns the name of EJB ref.
Returns the symbolic name of the current class. For an EJBean it's the value of ejb:bean's name parameter.
Returns short version of ejbName(). Example: "foo.bar.MyBean" ->"MyBean", "foo/bar/MyBean" ->"MyBean"
Returns Bean type : "Entity", "Session" or "Message Driven".
Returns the full-qualified name of the current class's concrete class. This is the class that is generated and is derived from current class.
Returns unique id for current ejb.