public ItemTable(DvText name, string archetypeNodeId, Support.Identification.UidBasedId uid, Link[] links, Archetyped archetypeDetails, FeederAudit feederAudit, Cluster[] rows) : base(name, archetypeNodeId, uid, links, archetypeDetails, feederAudit) { if (rows != null) { this.rows = RmFactory.LocatableList<Cluster>(this, rows); } SetAttributeDictionary(); CheckInvariants(); }
protected override void ReadXmlBase(XmlReader reader) { base.ReadXmlBase(reader); if (reader.LocalName == "rows") { LocatableList <Representation.Cluster> rows = new LocatableList <OpenEhr.RM.DataStructures.ItemStructure.Representation.Cluster>(); while (reader.LocalName == "rows") { OpenEhr.RM.DataStructures.ItemStructure.Representation.Cluster aCluster = new OpenEhr.RM.DataStructures.ItemStructure.Representation.Cluster(); aCluster.ReadXml(reader); aCluster.Parent = this; rows.Add(aCluster); } this.rows = rows; } }
protected override void ReadXmlBase(XmlReader reader) { base.ReadXmlBase(reader); if (reader.LocalName == "rows") { LocatableList<Representation.Cluster> rows = new LocatableList<OpenEhr.RM.DataStructures.ItemStructure.Representation.Cluster>(); while (reader.LocalName == "rows") { OpenEhr.RM.DataStructures.ItemStructure.Representation.Cluster aCluster = new OpenEhr.RM.DataStructures.ItemStructure.Representation.Cluster(); aCluster.ReadXml(reader); aCluster.Parent = this; rows.Add(aCluster); } this.rows = rows; } }