+++ /dev/null
-/** @file\r
- \r
- The file is used to save <farPlatform> information.\r
- \r
- Copyright (c) 2006, Intel Corporation\r
- All rights reserved. This program and the accompanying materials\r
- are licensed and made available under the terms and conditions of the BSD License\r
- which accompanies this distribution. The full text of the license may be found at\r
- http://opensource.org/licenses/bsd-license.php\r
- \r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
- \r
- **/\r
-package org.tianocore.frameworkwizard.far;\r
-\r
-import org.tianocore.frameworkwizard.platform.PlatformIdentification;\r
-\r
-public class FarPlatformItem {\r
- //\r
- // class member\r
- //\r
- private FarFileItem farFile;\r
-\r
- private String guidValue;\r
-\r
- private String version;\r
-\r
- public FarFileItem getFarFile() {\r
- return farFile;\r
- }\r
-\r
- public void setFarFile(FarFileItem farFile) {\r
- this.farFile = farFile;\r
- }\r
-\r
- public String getGuidValue() {\r
- return guidValue;\r
- }\r
-\r
- public void setGuidValue(String guidValue) {\r
- this.guidValue = guidValue;\r
- }\r
-\r
- public String getVersion() {\r
- return version;\r
- }\r
-\r
- public void setVersion(String version) {\r
- this.version = version;\r
- }\r
-\r
- public boolean isIdentityPlf(PlatformIdentification plfId) {\r
- if (plfId.getGuid() == guidValue && plfId.getVersion() == version) {\r
- return true;\r
- }\r
- return false;\r
-\r
- }\r
-}\r