]> git.proxmox.com Git - mirror_edk2.git/blob - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/PlatformIdentification.java
Remove build warning.
[mirror_edk2.git] / Tools / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / platform / PlatformIdentification.java
1 /** @file
2
3 The file is used to save basic information of platform
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.platform;
17
18 import java.io.File;
19
20 import org.tianocore.frameworkwizard.common.Identifications.Identification;
21
22 public class PlatformIdentification extends Identification{
23
24 private File fpdFile;
25
26 public PlatformIdentification(String name, String guid, String version, String path){
27 super(name, guid, version, path);
28 }
29
30 public PlatformIdentification(String name, String guid, String version, File fpdFile){
31 super(name, guid, version);
32 this.fpdFile = fpdFile;
33 }
34
35 public PlatformIdentification(Identification id){
36 super(id.getName(), id.getGuid(), id.getVersion(), id.getPath());
37 }
38
39 public String toString(){
40 return "Platform " + this.getName() + "[" + this.getGuid() + "]";
41 }
42
43 public void setFpdFile(File fpdFile) {
44 this.fpdFile = fpdFile;
45 }
46
47 public File getFpdFile() {
48 return fpdFile;
49 }
50 }