Writing a Copy Delegate for a Custom Class
When an out of the box business object (such as part) is customized to create a modeled sub-class, it is necessary to create and configure a custom copy delegate class so that when the part is copied (or saved as), additional modeled attributes are handled properly.
This document illustrates the steps with a simple example: a custom part class “MyPart” that extends wt.part.WTPart with a single string attribute “myAttr”.