|
@@ -110,6 +110,15 @@ export class UABaseNode implements IToXML{
|
|
return children;
|
|
return children;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ getModellingRule(): string|undefined{
|
|
|
|
+ this.references.forEach((ref)=>{
|
|
|
|
+ if(ref.referenceType == "HasModellingRule"){
|
|
|
|
+ return ref.toNode.displayName;
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ return undefined;
|
|
|
|
+ }
|
|
|
|
+
|
|
resolveReferences(nm: Map<string, UABaseNode>) {
|
|
resolveReferences(nm: Map<string, UABaseNode>) {
|
|
for(const ref of this.references) {
|
|
for(const ref of this.references) {
|
|
const fromNode=nm.get(ref.fromRef.toString())
|
|
const fromNode=nm.get(ref.fromRef.toString())
|