]> git.proxmox.com Git - mirror_edk2.git/blame - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/far/FarPlatformItem.java
Changed spelling to manifest
[mirror_edk2.git] / Tools / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / far / FarPlatformItem.java
CommitLineData
5a24e806 1/** @file\r
2 \r
3 The file is used to save <farPlatform> information.\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
15package org.tianocore.frameworkwizard.far;\r
16\r
17import org.tianocore.frameworkwizard.platform.PlatformIdentification;\r
18\r
19public class FarPlatformItem {\r
20 //\r
21 // class member\r
22 //\r
23 private FarFileItem farFile;\r
24\r
25 private String guidValue;\r
26\r
27 private String version;\r
28\r
29 public FarFileItem getFarFile() {\r
30 return farFile;\r
31 }\r
32\r
33 public void setFarFile(FarFileItem farFile) {\r
34 this.farFile = farFile;\r
35 }\r
36\r
37 public String getGuidValue() {\r
38 return guidValue;\r
39 }\r
40\r
41 public void setGuidValue(String guidValue) {\r
42 this.guidValue = guidValue;\r
43 }\r
44\r
45 public String getVersion() {\r
46 return version;\r
47 }\r
48\r
49 public void setVersion(String version) {\r
50 this.version = version;\r
51 }\r
52\r
53 public boolean isIdentityPlf(PlatformIdentification plfId) {\r
54 if (plfId.getGuid() == guidValue && plfId.getVersion() == version) {\r
55 return true;\r
56 }\r
57 return false;\r
58\r
59 }\r
60}\r