/// <summary>
 /// Initializes a new instance of the <see cref="MeasureListMutableCore"/> class.
 /// </summary>
 /// <param name="objTarget">
 /// The obj target. 
 /// </param>
 public MeasureListMutableCore(IMeasureList objTarget)
     : base(objTarget)
 {
     if (objTarget.PrimaryMeasure != null)
     {
         this.primaryMeasureMutableObject = new PrimaryMeasureMutableCore(objTarget.PrimaryMeasure);
     }
 }
 /// <summary>
 /// Write a KeyFamily/Components/PrimaryMeasure element from a IPrimaryMeasureMutableObject object
 /// </summary>
 /// <param name="pm">
 /// The IPrimaryMeasureMutableObject object to write
 /// </param>
 private void WriteComponent(IPrimaryMeasureMutableObject pm)
 {
     this.WriteStartElement(this.DefaultPrefix, ElementNameTable.PrimaryMeasure);
     this.WriteComponentAttributes(pm);
     this.WriteRepresentation(pm.Representation);
     this.WriteComponentContent(pm);
     this.WriteEndElement();
 }
        ///////////////////////////////////////////////////////////////////////////////////////////////////
        ////////////BUILD FROM MUTABLE OBJECTS              //////////////////////////////////////////////////
        ///////////////////////////////////////////////////////////////////////////////////////////////////
        #region Constructors and Destructors

        /// <summary>
        /// Initializes a new instance of the <see cref="PrimaryMeasureCore"/> class.
        /// </summary>
        /// <param name="itemMutableObject">
        /// The sdmxObject. 
        /// </param>
        /// <param name="parent">
        /// The parent. 
        /// </param>
        public PrimaryMeasureCore(IPrimaryMeasureMutableObject itemMutableObject, IMeasureList parent)
            : base(itemMutableObject, parent)
        {
            this.Validate();
        }