applyPattern

Locates and applies another DPTK pattern to the current model


Tag Summary
 
required <applyPattern id="value" />
 
full tag <applyPattern id="value" restoreNames="value" />

Required Attributes
 
id The pattern ID of the DPTK pattern to be applied

Optional Attributes
 
restoreNames A list of coma-separated names whose current node associations are to be restored when the specified pattern completes. Each name in the list will be tested to see if a node is currently associated with it and if so, that node will be re-associated with the name after the pattern completes.

Example
 
<applyPattern
        id="com.ibm.jdbc.objects"
        restoreNames="table,schema" />

This example applies the DPTK pattern with id "com.ibm.jdbc.objects". Once the pattern has been applied, the variable names "table" and "schema" will be re-associated to the same model nodes with which they were previously associated.


© Copyright IBM Corporation 2000, 2006. All Rights Reserved.