public virtual object clone() { WorksheetRevisionTable revTable = new WorksheetRevisionTable(); revTable.Id = Id; revTable.Data = this; revTable.ProjectId = ProjectId; return(revTable); }
public virtual WorksheetRevisionTable deepCopy() { WorksheetRevisionTable p = (WorksheetRevisionTable)clone(); p.FileList = new List <WorksheetFileTable>(); if (FileList == null) { FileList = Collections.EMPTY_LIST; } foreach (WorksheetFileTable var in FileList) { p.FileList.Add((WorksheetFileTable)var.clone()); } if (DataMapping != null) { p.DataMapping = (WorksheetDataMappingTable)DataMapping.deepCopy(); } return(p); }