コード例 #1
0
        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);
        }
コード例 #2
0
 public override void addAttributesDuringExport(MocaNode linkVariableMocaNode)
 {
     base.addAttributesDuringExport(linkVariableMocaNode);
     linkVariableMocaNode.appendChildAttribute("domain", TGGModelingUtil.getDomainOfLinkVariable(Repository, this.LinkVariableEA).ToString().ToLower());
 }