/// <summary>
 /// Initializes a new instance of the <see cref="DocumentComponent" /> class.
 /// </summary>
 /// <param name="identificatie">identificatie (required).</param>
 /// <param name="kop">kop (required).</param>
 /// <param name="omgevingsdocument">omgevingsdocument (required).</param>
 /// <param name="type">&lt;body&gt;&lt;p&gt;Een inhoudelijke toelichting op de toepassing van het informatie-element.&lt;/p&gt;&lt;/body&gt;&lt;body&gt;&lt;p&gt;De verzameling van waarden die gegevens van dit attribuutsoort kunnen hebben, dat wil zeggen het waardenbereik, uitgedrukt in een specifieke structuur.&lt;/p&gt;&lt;/body&gt; (required).</param>
 /// <param name="vervallen">&lt;body&gt;&lt;p&gt;Een inhoudelijke toelichting op de toepassing van het informatie-element.&lt;/p&gt;&lt;/body&gt; (required).</param>
 /// <param name="volgordeNummer">&lt;body&gt;&lt;p&gt;Een inhoudelijke toelichting op de toepassing van het informatie-element.&lt;/p&gt;&lt;/body&gt; (required).</param>
 public DocumentComponent(string identificatie = default(string), Kop kop = default(Kop), Omgevingsdocument omgevingsdocument = default(Omgevingsdocument), string type = default(string), bool vervallen = default(bool), int volgordeNummer = default(int))
 {
     // to ensure "identificatie" is required (not null)
     this.Identificatie = identificatie ?? throw new ArgumentNullException("identificatie is a required property for DocumentComponent and cannot be null");
     // to ensure "kop" is required (not null)
     this.Kop = kop ?? throw new ArgumentNullException("kop is a required property for DocumentComponent and cannot be null");
     // to ensure "omgevingsdocument" is required (not null)
     this.Omgevingsdocument = omgevingsdocument ?? throw new ArgumentNullException("omgevingsdocument is a required property for DocumentComponent and cannot be null");
     // to ensure "type" is required (not null)
     this.Type           = type ?? throw new ArgumentNullException("type is a required property for DocumentComponent and cannot be null");
     this.Vervallen      = vervallen;
     this.VolgordeNummer = volgordeNummer;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DocumentComponent" /> class.
 /// </summary>
 /// <param name="codeBevoegdGezag">codeBevoegdGezag (required).</param>
 /// <param name="documentIdentificatie">documentIdentificatie (required).</param>
 /// <param name="documentOpschrift">documentOpschrift (required).</param>
 /// <param name="documentType">documentType (required).</param>
 /// <param name="kop">kop.</param>
 public DocumentComponent(string codeBevoegdGezag = default(string), string documentIdentificatie = default(string), string documentOpschrift = default(string), Soortregeling documentType = default(Soortregeling), Kop kop = default(Kop))
 {
     // to ensure "codeBevoegdGezag" is required (not null)
     this.CodeBevoegdGezag = codeBevoegdGezag ?? throw new ArgumentNullException("codeBevoegdGezag is a required property for DocumentComponent and cannot be null");
     // to ensure "documentIdentificatie" is required (not null)
     this.DocumentIdentificatie = documentIdentificatie ?? throw new ArgumentNullException("documentIdentificatie is a required property for DocumentComponent and cannot be null");
     // to ensure "documentOpschrift" is required (not null)
     this.DocumentOpschrift = documentOpschrift ?? throw new ArgumentNullException("documentOpschrift is a required property for DocumentComponent and cannot be null");
     // to ensure "documentType" is required (not null)
     this.DocumentType = documentType ?? throw new ArgumentNullException("documentType is a required property for DocumentComponent and cannot be null");
     this.Kop          = kop;
 }
        /// <summary>
        /// Initializes a new instance of the <see cref="DocumentComponent" /> class.
        /// </summary>
        /// <param name="identificatie">&lt;body&gt;&lt;p&gt;Identificatie datatype van de KOOP standaard.&lt;/p&gt;&lt;/body&gt; (required).</param>
        /// <param name="kop">kop (required).</param>
        /// <param name="omgevingsdocument">omgevingsdocument (required).</param>
        /// <param name="type">&lt;body&gt;&lt;p&gt;De aanduiding van het type regeling van het omgevingsdocument.&lt;/p&gt;&lt;/body&gt; (required).</param>
        /// <param name="vervallen">&lt;body&gt;&lt;p&gt;Indicatie dat de regeltekst is vervallen.&lt;/p&gt;&lt;/body&gt; (required).</param>
        /// <param name="volgordeNummer">&lt;body&gt;&lt;p&gt;Het lidnummer indien de regeltekst een lid van een artikel betreft.&lt;/p&gt;&lt;/body&gt; (required).</param>
        public DocumentComponent(string identificatie = default(string), Kop kop = default(Kop), Omgevingsdocument omgevingsdocument = default(Omgevingsdocument), string type = default(string), bool vervallen = default(bool), int volgordeNummer = default(int))
        {
            // to ensure "identificatie" is required (not null)
            if (identificatie == null)
            {
                throw new InvalidDataException("identificatie is a required property for DocumentComponent and cannot be null");
            }
            else
            {
                this.Identificatie = identificatie;
            }

            // to ensure "kop" is required (not null)
            if (kop == null)
            {
                throw new InvalidDataException("kop is a required property for DocumentComponent and cannot be null");
            }
            else
            {
                this.Kop = kop;
            }

            // to ensure "omgevingsdocument" is required (not null)
            if (omgevingsdocument == null)
            {
                throw new InvalidDataException("omgevingsdocument is a required property for DocumentComponent and cannot be null");
            }
            else
            {
                this.Omgevingsdocument = omgevingsdocument;
            }

            // to ensure "type" is required (not null)
            if (type == null)
            {
                throw new InvalidDataException("type is a required property for DocumentComponent and cannot be null");
            }
            else
            {
                this.Type = type;
            }

            // to ensure "vervallen" is required (not null)
            if (vervallen == null)
            {
                throw new InvalidDataException("vervallen is a required property for DocumentComponent and cannot be null");
            }
            else
            {
                this.Vervallen = vervallen;
            }

            // to ensure "volgordeNummer" is required (not null)
            if (volgordeNummer == null)
            {
                throw new InvalidDataException("volgordeNummer is a required property for DocumentComponent and cannot be null");
            }
            else
            {
                this.VolgordeNummer = volgordeNummer;
            }
        }
Exemplo n.º 4
0
        /// <summary>
        /// Initializes a new instance of the <see cref="DocumentComponent" /> class.
        /// </summary>
        /// <param name="codeBevoegdGezag">codeBevoegdGezag (required).</param>
        /// <param name="documentIdentificatie">documentIdentificatie (required).</param>
        /// <param name="documentOpschrift">documentOpschrift (required).</param>
        /// <param name="documentType">documentType (required).</param>
        /// <param name="kop">kop.</param>
        public DocumentComponent(string codeBevoegdGezag = default(string), string documentIdentificatie = default(string), string documentOpschrift = default(string), Soortregeling documentType = default(Soortregeling), Kop kop = default(Kop))
        {
            // to ensure "codeBevoegdGezag" is required (not null)
            if (codeBevoegdGezag == null)
            {
                throw new InvalidDataException("codeBevoegdGezag is a required property for DocumentComponent and cannot be null");
            }
            else
            {
                this.CodeBevoegdGezag = codeBevoegdGezag;
            }

            // to ensure "documentIdentificatie" is required (not null)
            if (documentIdentificatie == null)
            {
                throw new InvalidDataException("documentIdentificatie is a required property for DocumentComponent and cannot be null");
            }
            else
            {
                this.DocumentIdentificatie = documentIdentificatie;
            }

            // to ensure "documentOpschrift" is required (not null)
            if (documentOpschrift == null)
            {
                throw new InvalidDataException("documentOpschrift is a required property for DocumentComponent and cannot be null");
            }
            else
            {
                this.DocumentOpschrift = documentOpschrift;
            }

            // to ensure "documentType" is required (not null)
            if (documentType == null)
            {
                throw new InvalidDataException("documentType is a required property for DocumentComponent and cannot be null");
            }
            else
            {
                this.DocumentType = documentType;
            }

            this.Kop = kop;
        }