]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/common/Identifications/OpeningModuleType.java
1. Merge ModuleDefinitions to MsaHeader
[mirror_edk2.git] / Tools / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / common / Identifications / OpeningModuleType.java
index d44c86178d820577f6a504d67c9cc6b0274da945..2ead77a84f1b2043ae7b9ed949cb4b4128b9edd5 100644 (file)
@@ -18,6 +18,7 @@ package org.tianocore.frameworkwizard.common.Identifications;
 import javax.swing.tree.TreePath;\r
 \r
 import org.tianocore.ModuleSurfaceAreaDocument;\r
+import org.tianocore.frameworkwizard.module.Identifications.ModuleIdentification;\r
 \r
 public class OpeningModuleType extends OpeningFileType{\r
     //\r
@@ -25,17 +26,21 @@ public class OpeningModuleType extends OpeningFileType{
     //\r
     private ModuleSurfaceAreaDocument.ModuleSurfaceArea xmlMsa = null;\r
     \r
+    private ModuleIdentification id = null;\r
+    \r
     public OpeningModuleType() {\r
         \r
     }\r
     \r
-    public OpeningModuleType(Identification identification, ModuleSurfaceAreaDocument.ModuleSurfaceArea msa) {\r
-        super(identification);\r
+    public OpeningModuleType(ModuleIdentification identification, ModuleSurfaceAreaDocument.ModuleSurfaceArea msa) {\r
+        this.id = identification;\r
         this.xmlMsa = msa;\r
     }\r
     \r
-    public OpeningModuleType(Identification identification, ModuleSurfaceAreaDocument.ModuleSurfaceArea msa, TreePath treePath) {\r
-        super(identification, treePath);\r
+    public OpeningModuleType(ModuleIdentification identification, ModuleSurfaceAreaDocument.ModuleSurfaceArea msa, TreePath treePath) {\r
+        super(treePath);\r
+        \r
+        this.id = identification;\r
         this.xmlMsa = msa;\r
     }\r
 \r
@@ -46,4 +51,12 @@ public class OpeningModuleType extends OpeningFileType{
     public void setXmlMsa(ModuleSurfaceAreaDocument.ModuleSurfaceArea xmlMsa) {\r
         this.xmlMsa = xmlMsa;\r
     }\r
+\r
+    public ModuleIdentification getId() {\r
+        return id;\r
+    }\r
+\r
+    public void setId(ModuleIdentification id) {\r
+        this.id = id;\r
+    }\r
 }\r