## EjbDataObj

Implemented in class xdoclet.modules.ejb.entity.DataObjectTagsHandler.

- Block Tags
- Content Tags

### Block Tags:

#### ifIsWithDataMethod (block template)

Evaluate the body block if ejb:data-object setdata="true". If not defined then default is true.

#### ifIsWithDataContainer (block template)

Evaluate the body block if ejb:data-object container="true". If not defined then default is true.

#### ifIsAggregate (block template)

Evaluate the body block if ejb:aggregate is defined for current getter method, denoting that the specified getter method returns an aggregated object.

#### ifIsNotAggregate (block template)

Evaluate the body block if ejb:aggregate is not defined for current getter method.

#### forAllSuperSetData (block template)

Evaluates the body block for each setData method.

#### forAllBeans (block template)

Evaluates the body block for each EJBean derived from one of the three EJB types: EntityBean, SessionBean or MessageDrivenBean.

#### ifIsAConcreteEJBean (block template)

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.

#### ifLocalEjb (block template)

#### ifRemoteEjb (block template)

#### ifNotLocalEjb (block template)

#### ifNotRemoteEjb (block template)

### Content templates:

#### dataObjectClass (content template)

Returns data-object class name for the bean.

#### dataMostSuperObjectClass (content template)

Returns the data-object class name highest in the hierarchy of derived beans. Because of possible inheritance between entity bean, the type of the generated getData method must be the one of the most super class of the current entity bean. The current Data class must extend the corresponding super Data class.

#### generateDataObjectClass (content template)

#### extendsFrom (content template)

Returns the name of the class dataobject class extends.

#### dataObjectClassNameFromInterfaceName (content template)

Return the dataobject class name from interface name.

#### ejbRefName (content template)

Returns the name of EJB ref.

#### ejbName (content template)

Returns the name of current EJB bean.

[prefixWithEjbSlash] | Specifies whether to prefix it with ejb/ or not. False by default. Valid Values = {true,false}

#### ejbExternalRefName (content template)

Returns the name of EJB ref.

#### symbolicClassName (content template)

Returns the symbolic name of the current class. For an EJBean it's the value of ejb:bean's name parameter.

#### shortEjbName (content template)

Returns short version of ejbName(). Example: "foo.bar.MyBean" ->"MyBean", "foo/bar/MyBean" ->"MyBean"

#### beanType (content template)

Returns Bean type : "Entity", "Session" or "Message Driven".

#### concreteFullClassName (content template)

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.

#### id (content template)

Returns unique id for current ejb.