* @return the working copy
* <!-- end-user-doc -->
* @generated NOT
*/
public TapestryLibrary getWorkingCopy() {
TapestryLibrary workingCopyLib = TapestryLibraryRegistryFactory.eINSTANCE.createTapestryLibrary();
// workingCopyLib.setID(getID());
workingCopyLib.setName(getName());
workingCopyLib.setTapestryVersion(getTapestryVersion());
workingCopyLib.setDeployed(isDeployed());
workingCopyLib.setImplementation(isImplementation());
Iterator itArchiveFiles = getArchiveFiles().iterator();
while (itArchiveFiles.hasNext()) {
ArchiveFile srcArchiveFile = (ArchiveFile)itArchiveFiles.next();
ArchiveFile destArchiveFile = TapestryLibraryRegistryFactory.eINSTANCE.createArchiveFile();
destArchiveFile.setRelativeToWorkspace(srcArchiveFile.isRelativeToWorkspace());
destArchiveFile.setSourceLocation(srcArchiveFile.getSourceLocation());
destArchiveFile.setRelativeDestLocation(srcArchiveFile.getRelativeDestLocation());
workingCopyLib.getArchiveFiles().add(destArchiveFile);
}
return workingCopyLib;
}