/// <summary>
        /// Constructor
        /// </summary>
        public SpectraDataObj()
        {
            Id   = null;
            Name = null;
            ExternalFormatDocumentation = null;
            Location = null;

            _spectrumIDFormat = null;
            _fileFormat       = null;
        }
        /// <summary>
        /// Create an object using the contents of the corresponding MzIdentML object
        /// </summary>
        /// <param name="sd"></param>
        /// <param name="idata"></param>
        public SpectraDataObj(SpectraDataType sd, IdentDataObj idata)
            : base(idata)
        {
            Id   = sd.id;
            Name = sd.name;
            ExternalFormatDocumentation = sd.ExternalFormatDocumentation;
            Location = sd.location;

            _spectrumIDFormat = null;
            _fileFormat       = null;

            if (sd.SpectrumIDFormat != null)
            {
                _spectrumIDFormat = new SpectrumIDFormatObj(sd.SpectrumIDFormat, IdentData);
            }
            if (sd.FileFormat != null)
            {
                _fileFormat = new FileFormatInfo(sd.FileFormat, IdentData);
            }
        }