/* * Assign values and all internal properties from one object to another. */ public void assign(BizDataBaseListColumn dbArrayColumn) { array = new BizDataBaseObjectList(); array.parent = this; if (templateObject==null) templateObject = dbArrayColumn.getTemplateObject().newInstance(); if (dbArrayColumn != null) { array.assign(dbArrayColumn.getArray()); } }
// // Used by XML serialization // public void copy(BizDataBaseListColumn dbArrayColumn) { array = new BizDataBaseObjectList(); if (dbArrayColumn != null) { array.copy(dbArrayColumn.getArray()); } array.parent = this; name = dbArrayColumn.name; isDetail = dbArrayColumn.isDetail; if (dbArrayColumn.templateObject!=null) templateObject = dbArrayColumn.getTemplateObject().newInstance(); else templateObject = new BizDataBaseObject(); parentColumnsMap = dbArrayColumn.parentColumnsMap; }