public virtual LayoutPanelTable copyWithLayoutTable() { LayoutPanelTable o = (LayoutPanelTable)clone(); if (LayoutTable != null) { o.LayoutTable = (LayoutTable)LayoutTable.clone(); } return(o); }
public virtual LayoutTable copyWithPanels() { LayoutTable o = new LayoutTable(); o.LayoutId = LayoutId; o.Name = Name; o.LastUpdate = LastUpdate; o.CreatorId = CreatorId; o.EditorId = EditorId; o.SelectedGroupCode = SelectedGroupCode; o.Type = Type; o.Pblk = Pblk; o.Dflt = Dflt; o.VisibTabs = VisibTabs; o.ShowAsTree = ShowAsTree; o.SpanGroups = SpanGroups; o.RowStripes = RowStripes; o.MultiLines = MultiLines; o.Zoom = Zoom; o.ShowVerticalGrids = ShowVerticalGrids; o.ShowHorizontalGrids = ShowHorizontalGrids; o.GroupName = GroupName; o.FontLevel1Name = FontLevel1Name; o.FontLevel1Size = FontLevel1Size; o.FontLevel1Style = FontLevel1Style; o.FontLevel2Name = FontLevel2Name; o.FontLevel2Size = FontLevel2Size; o.FontLevel2Style = FontLevel2Style; o.FontLevel3Name = FontLevel3Name; o.FontLevel3Size = FontLevel3Size; o.FontLevel3Style = FontLevel3Style; o.FontLevel4Name = FontLevel4Name; o.FontLevel4Size = FontLevel4Size; o.FontLevel4Style = FontLevel4Style; o.FontLevel5Name = FontLevel5Name; o.FontLevel5Size = FontLevel5Size; o.FontLevel5Style = FontLevel5Style; o.FontLevelNName = FontLevelNName; o.FontLevelNSize = FontLevelNSize; o.FontLevelNStyle = FontLevelNStyle; o.FontUnassignedName = FontUnassignedName; o.FontUnassignedSize = FontUnassignedSize; o.FontUnassignedStyle = FontUnassignedStyle; o.FontLeafName = FontLeafName; o.FontLeafSize = FontLeafSize; o.FontLeafStyle = FontLeafStyle; o.FontLevel1Color = FontLevel1Color; o.FontLevel2Color = FontLevel2Color; o.FontLevel3Color = FontLevel3Color; o.FontLevel4Color = FontLevel4Color; o.FontLevel5Color = FontLevel5Color; o.FontLevelNColor = FontLevelNColor; o.FontUnassignedColor = FontUnassignedColor; o.FontLeafColor = FontLeafColor; o.RowStripe1Color = RowStripe1Color; o.RowStripe2Color = RowStripe2Color; o.FontLevel1Undln = FontLevel1Undln; o.FontLevel2Undln = FontLevel2Undln; o.FontLevel3Undln = FontLevel3Undln; o.FontLevel4Undln = FontLevel4Undln; o.FontLevel5Undln = FontLevel5Undln; o.FontLevelNUndln = FontLevelNUndln; o.FontUnassignedUndln = FontUnassignedUndln; o.FontLeafUndln = FontLeafUndln; o.Level1BackColor = Level1BackColor; o.Level2BackColor = Level2BackColor; o.Level3BackColor = Level3BackColor; o.Level4BackColor = Level4BackColor; o.Level5BackColor = Level5BackColor; o.LevelNBackColor = LevelNBackColor; o.UnassignedBackColor = UnassignedBackColor; o.LeafBackColor = LeafBackColor; o.ShowRowHeader = ShowRowHeader; o.ShowColumnSeparator = ShowColumnSeparator; o.GridColor = GridColor; o.ColumnSeparatorColor = ColumnSeparatorColor; o.LayoutUserAndRoles = LayoutUserAndRoles; o.layoutColumnList = new List <LayoutPanelTable>(); if (LayoutColumnList != null) { IEnumerator <LayoutPanelTable> iter = LayoutColumnList.GetEnumerator(); while (iter.MoveNext()) { o.layoutColumnList.Add((LayoutPanelTable)iter.Current.clone()); } } return(o); }
// /** // * @hibernate.set // * inverse="true" // * cascade="all-delete-orphan" // * lazy="true" // * @hibernate.key // * column="QUOTATIONTEMPLATE" // * @hibernate.one-to-many // * class="nomitech.common.db.project.QuotationTemplateTable" // * @hibernate.cache usage="nonstrict-read-write" // * @return Set // */ // public Set<QuotationTemplateTable> getQuotationTemplateTableSet() { // return quotationTemplateTableSet; // } // public void setQuotationTemplateTableSet(Set<QuotationTemplateTable> quotationSet) { // quotationTemplateTableSet = quotationSet; // } public virtual object clone() { LayoutTable o = new LayoutTable(); o.LayoutId = LayoutId; o.Name = Name; o.LastUpdate = LastUpdate; o.CreatorId = CreatorId; o.EditorId = EditorId; o.SelectedGroupCode = SelectedGroupCode; o.Type = Type; o.Pblk = Pblk; o.Dflt = Dflt; o.VisibTabs = VisibTabs; o.ShowAsTree = ShowAsTree; o.SpanGroups = SpanGroups; o.ShowAsTree = ShowAsTree; o.RowStripes = RowStripes; o.Zoom = Zoom; o.MultiLines = MultiLines; o.ShowVerticalGrids = ShowVerticalGrids; o.ShowHorizontalGrids = ShowHorizontalGrids; o.GroupName = GroupName; o.FontLevel1Name = FontLevel1Name; o.FontLevel1Size = FontLevel1Size; o.FontLevel1Style = FontLevel1Style; o.FontLevel2Name = FontLevel2Name; o.FontLevel2Size = FontLevel2Size; o.FontLevel2Style = FontLevel2Style; o.FontLevel3Name = FontLevel3Name; o.FontLevel3Size = FontLevel3Size; o.FontLevel3Style = FontLevel3Style; o.FontLevel4Name = FontLevel4Name; o.FontLevel4Size = FontLevel4Size; o.FontLevel4Style = FontLevel4Style; o.FontLevel5Name = FontLevel5Name; o.FontLevel5Size = FontLevel5Size; o.FontLevel5Style = FontLevel5Style; o.FontLevelNName = FontLevelNName; o.FontLevelNSize = FontLevelNSize; o.FontLevelNStyle = FontLevelNStyle; o.FontUnassignedName = FontUnassignedName; o.FontUnassignedSize = FontUnassignedSize; o.FontUnassignedStyle = FontUnassignedStyle; o.FontLeafName = FontLeafName; o.FontLeafSize = FontLeafSize; o.FontLeafStyle = FontLeafStyle; o.FontLevel1Color = FontLevel1Color; o.FontLevel2Color = FontLevel2Color; o.FontLevel3Color = FontLevel3Color; o.FontLevel4Color = FontLevel4Color; o.FontLevel5Color = FontLevel5Color; o.FontLevelNColor = FontLevelNColor; o.FontUnassignedColor = FontUnassignedColor; o.FontLeafColor = FontLeafColor; o.RowStripe1Color = RowStripe1Color; o.RowStripe2Color = RowStripe2Color; o.FontLevel1Undln = FontLevel1Undln; o.FontLevel2Undln = FontLevel2Undln; o.FontLevel3Undln = FontLevel3Undln; o.FontLevel4Undln = FontLevel4Undln; o.FontLevel5Undln = FontLevel5Undln; o.FontLevelNUndln = FontLevelNUndln; o.FontUnassignedUndln = FontUnassignedUndln; o.FontLeafUndln = FontLeafUndln; o.Level1BackColor = Level1BackColor; o.Level2BackColor = Level2BackColor; o.Level3BackColor = Level3BackColor; o.Level4BackColor = Level4BackColor; o.Level5BackColor = Level5BackColor; o.LevelNBackColor = LevelNBackColor; o.UnassignedBackColor = UnassignedBackColor; o.LeafBackColor = LeafBackColor; o.ShowRowHeader = ShowRowHeader; o.ShowColumnSeparator = ShowColumnSeparator; o.GridColor = GridColor; o.ColumnSeparatorColor = ColumnSeparatorColor; o.LayoutUserAndRoles = LayoutUserAndRoles; return(o); }