code: public Connector copy()
     {
        XsdString newResourceadapterVersion = CopyUtil.clone(this.resourceadapterVersion);
        XsdString newEisType = XsdString.isNull(this.eisType) ? null : (XsdString) this.eisType.copy();
        List<XsdString> newRequiredWorkContexts = CopyUtil.cloneList(this.requiredWorkContexts);
        XsdString newModuleName = CopyUtil.clone(this.moduleName);
        List<Icon> newIcons = CopyUtil.cloneList(this.icon);
        boolean newMetadataComplete = this.metadataComplete;
        LicenseType newLicense = CopyUtil.clone(this.license);
        List<LocalizedXsdString> newDescriptions = CopyUtil.cloneList(this.description);
        List<LocalizedXsdString> newDisplayNames = CopyUtil.cloneList(this.displayName);
        XsdString newVendorName = CopyUtil.clone(this.vendorName);
        ResourceAdapter newResourceadapter = CopyUtil.clone((ResourceAdapter) this.resourceadapter);
        return new ConnectorImpl(version, newModuleName, newVendorName, newEisType, newResourceadapterVersion,
                                 newLicense, newResourceadapter, newRequiredWorkContexts, newMetadataComplete,
                                 newDescriptions, newDisplayNames, newIcons, CopyUtil.cloneString(id));
     }
docs: {@inheritDoc}