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

fix(namespace): fix namespace issue on RelativeUncertaintyType

parent 1059b66c
Branches
Tags
1 merge request!4Update to DCC Schema V3.2
......@@ -1250,17 +1250,28 @@ export class ListType extends DCCXMLElement {
export class RelativeUncertaintyType extends DCCXMLElement {
// region choice
relativeUncertaintyXmlList?: si.RealListXMLListType;
relativeUncertaintySingle?: si.RealQuantityType;
relativeUncertaintyXmlList?: RelativeUncertaintyXmlList;
relativeUncertaintySingle?: RelativeUncertaintySingle;
// endregion choice
constructor(el: Partial<RelativeUncertaintyType> = {}) {
super(el);
// choice
if (el.relativeUncertaintyXmlList) this.relativeUncertaintyXmlList = new si.RealListXMLListType(el.relativeUncertaintyXmlList);
else if (el.relativeUncertaintySingle) this.relativeUncertaintySingle = new si.RealQuantityType(el.relativeUncertaintySingle);
if (el.relativeUncertaintyXmlList) this.relativeUncertaintyXmlList = new RelativeUncertaintyXmlList(el.relativeUncertaintyXmlList);
else if (el.relativeUncertaintySingle) this.relativeUncertaintySingle = new RelativeUncertaintySingle(el.relativeUncertaintySingle);
}
}
export class RelativeUncertaintyXmlList extends si.RealListXMLListType {
get ns(): string {
return DCC.namespace;
}
}
export class RelativeUncertaintySingle extends si.RealQuantityType {
get ns(): string {
return DCC.namespace;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment