Adapter Development Kit 6.5 | webMethods Adapter Development Kit Documentation | webMethods Adapter Development Kit Installation and User’s Documentation | Adapter Services | The Metadata Model for Adapter Services | The WmTemplateDescriptor Interface | The WmTemplateDescriptor Methods
 
The WmTemplateDescriptor Methods
To modify and enhance the default behavior of WmTemplateDescriptor, use the following WmTemplateDescriptor methods:
*createFieldMap
Use this method to organize parameters into columns of a single table widget. For more information, see Field Maps.
*createTuple
This method is another "grouping" mechanism that you can use to modify the behavior of a resource domain lookup, and how resource domain values are applied in a field map. For more information, see Tuples.
*setMultiline
Changes the widget from a standard text box to a multi-line text box. This widget also supports text import from files. The resulting parameter value may include embedded returns.
*setResourceDomain
Associates a metadata parameter of an adapter service with a resource domain supported by the service's connection. For more information, see Resource Domains and Associating Metadata Parameters with Resource Domains.
Some of these methods have implicit order requirements because they build on activities performed in previous methods calls. For example, call setDescriptions after the final call to createGroup so that the resource bundle lookups can include all groups defined in the service. Use the calls in the following order:
1. createGroup
2. createFieldMap
3. createTuple
4. setResourceDomain
5. setDescriptions
Note:
If you create tuples, make setResourceDomain calls for tuple parameters in the order in which the parameters are set in the tuple.