]> git.proxmox.com Git - mirror_edk2.git/blame - 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
CommitLineData
79cb6fdb 1/** @file\r
2 \r
3 The file is used to define opening module type\r
4 \r
5 Copyright (c) 2006, Intel Corporation\r
6 All rights reserved. This program and the accompanying materials\r
7 are licensed and made available under the terms and conditions of the BSD License\r
8 which accompanies this distribution. The full text of the license may be found at\r
9 http://opensource.org/licenses/bsd-license.php\r
10 \r
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13 \r
14 **/\r
15\r
16package org.tianocore.frameworkwizard.common.Identifications;\r
17\r
18import javax.swing.tree.TreePath;\r
19\r
20import org.tianocore.ModuleSurfaceAreaDocument;\r
739c6b04 21import org.tianocore.frameworkwizard.module.Identifications.ModuleIdentification;\r
79cb6fdb 22\r
23public class OpeningModuleType extends OpeningFileType{\r
24 //\r
25 // Define class members\r
26 //\r
27 private ModuleSurfaceAreaDocument.ModuleSurfaceArea xmlMsa = null;\r
28 \r
739c6b04 29 private ModuleIdentification id = null;\r
30 \r
79cb6fdb 31 public OpeningModuleType() {\r
32 \r
33 }\r
34 \r
739c6b04 35 public OpeningModuleType(ModuleIdentification identification, ModuleSurfaceAreaDocument.ModuleSurfaceArea msa) {\r
36 this.id = identification;\r
79cb6fdb 37 this.xmlMsa = msa;\r
38 }\r
39 \r
739c6b04 40 public OpeningModuleType(ModuleIdentification identification, ModuleSurfaceAreaDocument.ModuleSurfaceArea msa, TreePath treePath) {\r
41 super(treePath);\r
42 \r
43 this.id = identification;\r
79cb6fdb 44 this.xmlMsa = msa;\r
45 }\r
46\r
47 public ModuleSurfaceAreaDocument.ModuleSurfaceArea getXmlMsa() {\r
48 return xmlMsa;\r
49 }\r
50\r
51 public void setXmlMsa(ModuleSurfaceAreaDocument.ModuleSurfaceArea xmlMsa) {\r
52 this.xmlMsa = xmlMsa;\r
53 }\r
739c6b04 54\r
55 public ModuleIdentification getId() {\r
56 return id;\r
57 }\r
58\r
59 public void setId(ModuleIdentification id) {\r
60 this.id = id;\r
61 }\r
79cb6fdb 62}\r