]> git.proxmox.com Git - mirror_edk2.git/blob - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/common/Identifications/OpeningPackageType.java
51ca083f460de899b07e0246aee9d3c6df6567b3
[mirror_edk2.git] / Tools / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / common / Identifications / OpeningPackageType.java
1 /** @file
2
3 The file is used to define opening package 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.PackageSurfaceAreaDocument;
20 import org.tianocore.frameworkwizard.packaging.PackageIdentification;
21
22 public class OpeningPackageType extends OpeningFileType {
23 //
24 // Define class members
25 //
26 private PackageSurfaceAreaDocument.PackageSurfaceArea xmlSpd = null;
27
28 private PackageIdentification id = null;
29
30 public OpeningPackageType() {
31
32 }
33
34 public OpeningPackageType(PackageIdentification identification, PackageSurfaceAreaDocument.PackageSurfaceArea spd) {
35 this.id = identification;
36 this.xmlSpd = spd;
37 }
38
39 public OpeningPackageType(PackageIdentification identification, PackageSurfaceAreaDocument.PackageSurfaceArea spd, TreePath treePath) {
40 super(treePath);
41
42 this.id = identification;
43 this.xmlSpd = spd;
44 }
45
46 public PackageSurfaceAreaDocument.PackageSurfaceArea getXmlSpd() {
47 return xmlSpd;
48 }
49
50 public void setXmlSpd(PackageSurfaceAreaDocument.PackageSurfaceArea xmlSpd) {
51 this.xmlSpd = xmlSpd;
52 }
53
54 public PackageIdentification getId() {
55 return id;
56 }
57
58 public void setId(PackageIdentification id) {
59 this.id = id;
60 }
61 }