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 |
16 | package org.tianocore.frameworkwizard.common.Identifications;\r |
17 | \r |
79cb6fdb |
18 | import org.tianocore.ModuleSurfaceAreaDocument;\r |
739c6b04 |
19 | import org.tianocore.frameworkwizard.module.Identifications.ModuleIdentification;\r |
79cb6fdb |
20 | \r |
21 | public class OpeningModuleType extends OpeningFileType{\r |
22 | //\r |
23 | // Define class members\r |
24 | //\r |
25 | private ModuleSurfaceAreaDocument.ModuleSurfaceArea xmlMsa = null;\r |
26 | \r |
739c6b04 |
27 | private ModuleIdentification id = null;\r |
28 | \r |
79cb6fdb |
29 | public OpeningModuleType() {\r |
30 | \r |
31 | }\r |
32 | \r |
739c6b04 |
33 | public OpeningModuleType(ModuleIdentification identification, ModuleSurfaceAreaDocument.ModuleSurfaceArea msa) {\r |
34 | this.id = identification;\r |
79cb6fdb |
35 | this.xmlMsa = msa;\r |
36 | }\r |
79cb6fdb |
37 | \r |
38 | public ModuleSurfaceAreaDocument.ModuleSurfaceArea getXmlMsa() {\r |
39 | return xmlMsa;\r |
40 | }\r |
41 | \r |
42 | public void setXmlMsa(ModuleSurfaceAreaDocument.ModuleSurfaceArea xmlMsa) {\r |
43 | this.xmlMsa = xmlMsa;\r |
44 | }\r |
739c6b04 |
45 | \r |
46 | public ModuleIdentification getId() {\r |
47 | return id;\r |
48 | }\r |
49 | \r |
50 | public void setId(ModuleIdentification id) {\r |
51 | this.id = id;\r |
52 | }\r |
79cb6fdb |
53 | }\r |