///////////////////////////////////////////////////////////////////////////////////////////////////
        ////////////BUILD FROM MUTABLE OBJECTS             //////////////////////////////////////////////////
        ///////////////////////////////////////////////////////////////////////////////////////////////////
        #region Constructors and Destructors

        /// <summary>
        /// Initializes a new instance of the <see cref="MeasureListCore"/> class.
        /// </summary>
        /// <param name="measureList">
        /// The measure list. 
        /// </param>
        /// <param name="parent">
        /// The parent. 
        /// </param>
        public MeasureListCore(IMeasureListMutableObject measureList, IMaintainableObject parent)
            : base(measureList, parent)
        {
            if (measureList.PrimaryMeasure != null)
            {
                this.primaryMeasure = new PrimaryMeasureCore(measureList.PrimaryMeasure, this);
            }
        }
        ///////////////////////////////////////////////////////////////////////////////////////////////////
        ////////////BUILD FROM V2.1 SCHEMA                 //////////////////////////////////////////////////
        ///////////////////////////////////////////////////////////////////////////////////////////////////

        /// <summary>
        /// Initializes a new instance of the <see cref="MeasureListCore"/> class.
        /// </summary>
        /// <param name="measureList">
        /// The measure list. 
        /// </param>
        /// <param name="parent">
        /// The parent. 
        /// </param>
        public MeasureListCore(MeasureListType measureList, IMaintainableObject parent)
            : base(measureList, SdmxStructureType.GetFromEnum(SdmxStructureEnumType.MeasureDescriptor), parent)
        {
            if (measureList.Component != null)
            {
                this.primaryMeasure =
                    new PrimaryMeasureCore(
                        (Org.Sdmx.Resources.SdmxMl.Schemas.V21.Structure.PrimaryMeasureType)
                        measureList.Component[0].Content, 
                        this);
            }
        }
        ///////////////////////////////////////////////////////////////////////////////////////////////////
        ////////////BUILD FROM V1 SCHEMA                 //////////////////////////////////////////////////
        ///////////////////////////////////////////////////////////////////////////////////////////////////

        /// <summary>
        /// Initializes a new instance of the <see cref="MeasureListCore"/> class.
        /// </summary>
        /// <param name="primaryMeasure">
        /// The primary measure. 
        /// </param>
        /// <param name="parent">
        /// The parent. 
        /// </param>
        public MeasureListCore(
            Org.Sdmx.Resources.SdmxMl.Schemas.V10.structure.PrimaryMeasureType primaryMeasure, 
            IMaintainableObject parent)
            : base(
                MeasureList.FixedId, 
                SdmxStructureType.GetFromEnum(SdmxStructureEnumType.MeasureDescriptor), 
                parent)
        {
            this.primaryMeasure = new PrimaryMeasureCore(primaryMeasure, this);
        }
        ///////////////////////////////////////////////////////////////////////////////////////////////////
        ////////////BUILD FROM V2 SCHEMA                 //////////////////////////////////////////////////
        ///////////////////////////////////////////////////////////////////////////////////////////////////

        /// <summary>
        /// Initializes a new instance of the <see cref="MeasureListCore"/> class.
        /// </summary>
        /// <param name="primaryMeasure">
        /// The primary measure. 
        /// </param>
        /// <param name="parent">
        /// The parent. 
        /// </param>
        public MeasureListCore(PrimaryMeasureType primaryMeasure, IMaintainableObject parent)
            : base(
                MeasureList.FixedId, 
                SdmxStructureType.GetFromEnum(SdmxStructureEnumType.MeasureDescriptor), 
                parent)
        {
            this.primaryMeasure = new PrimaryMeasureCore(primaryMeasure, this);
        }
		public PrimaryMeasureObjectBaseCore(IPrimaryMeasure primaryMeasure,
				ICodelistObjectBase codelist, IConceptObjectBase conceptSuper) : base(primaryMeasure, codelist, conceptSuper) {
		}
 /// <summary>
 /// Initializes a new instance of the <see cref="PrimaryMeasureMutableCore"/> class.
 /// </summary>
 /// <param name="objTarget">
 /// The obj target. 
 /// </param>
 public PrimaryMeasureMutableCore(IPrimaryMeasure objTarget)
     : base(objTarget)
 {
 }