Skip to content
Snippets Groups Projects
Verified Commit 55ecbf82 authored by Jan Loewe's avatar Jan Loewe :speech_balloon:
Browse files

feat(statementMetaDataType): add validXMLList

parent dfdb550c
No related branches found
No related tags found
1 merge request!4Update to DCC Schema V3.2
......@@ -783,7 +783,12 @@ export class StatementMetaDataType extends DCCXMLElement {
norm?: DCCXMLElement[];
reference?: DCCXMLElement[];
declaration?: RichContentType;
// region choice
valid?: DCCXMLBoolean;
validXMLList?: DCCXMLList;
// endregion choice
date?: DCCXMLDate;
period?: DCCXMLElement;
respAuthority?: ContactType;
......@@ -806,7 +811,11 @@ export class StatementMetaDataType extends DCCXMLElement {
if (el.norm) this.norm = ensureArray(el.norm).map((x) => new DCCXMLElement(x));
if (el.reference) this.reference = ensureArray(el.reference).map((x) => new DCCXMLElement(x));
if (el.declaration) this.declaration = new RichContentType(el.declaration);
// choice
if (el.valid) this.valid = new DCCXMLBoolean(el.valid);
else if (el.validXMLList) this.validXMLList = new DCCXMLList(this.validXMLList);
if (el.date) this.date = new DCCXMLDate(el.date);
if (el.period) this.period = new DCCXMLElement(el.period);
if (el.respAuthority) this.respAuthority = new ContactType(el.respAuthority);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment