public override Serialization.MocaTree.MocaNode serializeToMocaTree() { this.domain = TGGModelingUtil.getDomainOfLinkVariable(Repository, this.LinkVariableEA); MocaNode lvNode = base.serializeToMocaTree(); lvNode.appendChildAttribute("domain", this.domain.ToString().ToLower()); lvNode.Name = TGGModelingMain.TggLinkVariableStereotype; return(lvNode); }
public override void addAttributesDuringExport(MocaNode linkVariableMocaNode) { base.addAttributesDuringExport(linkVariableMocaNode); linkVariableMocaNode.appendChildAttribute("domain", TGGModelingUtil.getDomainOfLinkVariable(Repository, this.LinkVariableEA).ToString().ToLower()); }