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