background image
<< Variables Used in EJB Scenario Test Templates | ParameterDeclarations Variable >>
<< Variables Used in EJB Scenario Test Templates | ParameterDeclarations Variable >>

Replacement Variables for Stub Generation

132
Appendix A - Template Replacement Variables
Replacement Variables for Stub Generation Templates
The replacement variables for the stub generation templates can be logically divided
into the following categories:
s
Variables used only in Visual Basic and COM
s
Variables used only with Enterprise JavaBeans (EJBs)
For a list of the stub generation templates, see Templates for Stub Generation on page 21.
Replacement Variables for the COM/VB Stub Templates
The following table lists the replacement variables that are used in the COM/VB
templates for stub generation:
Variable
Description
Template
<<!VBClassName!>>
Class name for the stub.
Example:
Account
VBCOMClass
FunctionBody
PropertyGetBody
PropertyLetBody
SubBody.template
<<!ImplementsBlock!>>
Adds code to the top of the CLS file
listing the interfaces implemented by the
coclass.
VBCOMClass
<<!MethodBodyTemplate!>>
Causes the stub generator to use one of
the seven method body templates to
generate the declaration and definition
for each public method in the stub. For
more information, see Templates for Stub
Generation on page 21.
VBCOMClass
<<!Modifier!>>
Access modifier for the method. Will
evaluate to either "Public" or "Private."
FunctionBody
FunctionBodyWith
outLookUp
PropertyGetBody
PropertyGetBodyW
ithoutLookUp
PropertyLetBody
SubBody
SubBodyWithoutLo
okUp