/// <summary>
        /// Constructor
        /// </summary>
        public ProviderObj()
        {
            Id   = null;
            Name = null;
            _analysisSoftwareRef = null;

            _analysisSoftware = null;
            _contactRole      = null;
        }
Пример #2
0
        /// <summary>
        ///     Constructor
        /// </summary>
        public AnalysisSoftwareObj()
        {
            Id             = null;
            Name           = null;
            Customizations = null;
            Version        = null;
            URI            = null;

            _contactRole  = null;
            _softwareName = null;
        }
        /// <summary>
        /// Create an object using the contents of the corresponding MzIdentML object
        /// </summary>
        /// <param name="p"></param>
        /// <param name="idata"></param>
        public ProviderObj(ProviderType p, IdentDataObj idata)
            : base(idata)
        {
            Id   = p.id;
            Name = p.name;
            AnalysisSoftwareRef = p.analysisSoftware_ref;

            idata.Provider = this;

            _contactRole = null;

            if (p.ContactRole != null)
            {
                _contactRole = new ContactRoleObj(p.ContactRole, IdentData);
            }
        }
Пример #4
0
        /// <summary>
        ///     Create an object using the contents of the corresponding MzIdentML object
        /// </summary>
        /// <param name="asi"></param>
        /// <param name="idata"></param>
        public AnalysisSoftwareObj(AnalysisSoftwareType asi, IdentDataObj idata)
            : base(idata)
        {
            Id             = asi.id;
            Name           = asi.name;
            Customizations = asi.Customizations;
            Version        = asi.version;
            URI            = asi.uri;

            _contactRole  = null;
            _softwareName = null;

            if (asi.ContactRole != null)
            {
                _contactRole = new ContactRoleObj(asi.ContactRole, IdentData);
            }
            if (asi.SoftwareName != null)
            {
                _softwareName = new ParamObj(asi.SoftwareName, IdentData);
            }
        }