EjbValueObj

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

Block Tags:

ifGeneratePKConstructor (block template)

Evaluates the body if the valueobject subtask's generatePKConstructor parameter is true.

ifIsAbstractValueObject (block template)

Evaluates the body if the abstract parameter is set to true on the ejb.value-object tag for the current VO.

ifNotIsAbstractValueObject (block template)

Evaluates the body if the abstract parameter is set to false (or is missing) on the ejb.value-object tag for the current VO.

forAllValueObjects (block template)

Loops over all the ejb.value-object tags in the class, and generates the body for each one.

ifIsCollection (block template)

Executes the body only if the current field is a collection.

ifIsNotCollection (block template)

Executes the body only if the current field is not a collection.

forAllSuperSetValue (block template)

Describe what the method does

forAllAggregates (block template)

Loop over all the aggregate fields in the given value object, and generate the body for each one.

[superclasses] Whether to include fields in superclasses.

Valid Values = {true,false}
valueobject The value object name.

forAllComposes (block template)

Loop over all the composed fields in the given value object, and generate the body for each one.

[superclasses] Whether to include fields in superclasses.

Valid Values = {true,false}
valueobject The value object name.

forAllRelations (block template)

Loop over all the relation fields in the given value object, and generate the body for each one.

[superclasses] Whether to include fields in superclasses.

Valid Values = {true,false}
valueobject The value object name.

ifUsingValueObject (block template)

Evaluate the body block if Value Object subtask being used.

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)

ifServiceEndpointEjb (block template)

ifNotLocalEjb (block template)

ifNotRemoteEjb (block template)

ifNotServiceEndpointEjb (block template)

Content templates:

valueObjectClass (content template)

Return the current value object's class name.

valueObjectName (content template)

Return the current value object's name.

valueObjectMatch (content template)

Return the current value object's match parameter.

extendsFrom (content template)

Returns the name of the class the specified value object extends. If no extends parameter exists on the ejb.value-object tag, java.lang.Object is returned.

valueobject The name of the value object to check.

currentValueObjectClass (content template)

Return the current value object's class name.

currentValueObjectAttribute (content template)

Return the current value object's attribute name.

currentValueObjectMatch (content template)

Return the current value object's match parameter.

currentAggregateType (content template)

Returns the class name of the current aggregate attribute's type.

[short] Use the short (not fully-qualified) class name.

valueObjectImplements (content template)

return interfaces to be implemented

currentAggregateName (content template)

Returns the current aggregate's name

[plural]

Valid Values = {true, false}
[decapitalize]

Valid Values = {true, false}

currentRelationBeanClass (content template)

Return the bean class name for the current relation.

concreteCollectionType (content template)

Type of the constructor for aggregates or compositions.

collectionType (content template)

Returns the collection type for the current field.

valueMostSuperObjectClass (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.

ejbRefName (content template)

Returns the name of EJB ref.

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.