]> git.proxmox.com Git - mirror_edk2.git/blob - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/common/Identifications/OpeningPlatformType.java
1. Merge ModuleDefinitions to MsaHeader
[mirror_edk2.git] / Tools / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / common / Identifications / OpeningPlatformType.java
1 /** @file
2
3 The file is used to define opening platform 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 package org.tianocore.frameworkwizard.common.Identifications;
16
17 import javax.swing.tree.TreePath;
18
19 import org.tianocore.PlatformSurfaceAreaDocument;
20 import org.tianocore.frameworkwizard.platform.PlatformIdentification;
21
22 public class OpeningPlatformType extends OpeningFileType {
23 //
24 // Define class members
25 //
26 private PlatformSurfaceAreaDocument.PlatformSurfaceArea xmlFpd = null;
27
28 private PlatformIdentification id = null;
29
30 public OpeningPlatformType() {
31
32 }
33
34 public OpeningPlatformType(PlatformIdentification identification, PlatformSurfaceAreaDocument.PlatformSurfaceArea fpd) {
35 this.id = identification;
36 this.xmlFpd = fpd;
37 }
38
39 public OpeningPlatformType(PlatformIdentification identification, PlatformSurfaceAreaDocument.PlatformSurfaceArea fpd, TreePath treePath) {
40 super(treePath);
41 this.id = identification;
42 this.xmlFpd = fpd;
43 }
44
45 public PlatformSurfaceAreaDocument.PlatformSurfaceArea getXmlFpd() {
46 return xmlFpd;
47 }
48
49 public void setXmlFpd(PlatformSurfaceAreaDocument.PlatformSurfaceArea xmlFpd) {
50 this.xmlFpd = xmlFpd;
51 }
52
53 public PlatformIdentification getId() {
54 return id;
55 }
56
57 public void setId(PlatformIdentification id) {
58 this.id = id;
59 }
60 }