--- /dev/null
+/** @file\r
+\r
+ The file is used to define Package Dependencies Identification\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
+\r
+package org.tianocore.frameworkwizard.module.Identifications.PackageDependencies;\r
+\r
+import java.util.Vector;\r
+\r
+public class PackageDependenciesIdentification {\r
+\r
+ //\r
+ // Define class members\r
+ //\r
+ private String name = null;\r
+\r
+ private String version = null;\r
+\r
+ private String guid = null;\r
+\r
+ private Vector<String> supArchList = null;\r
+\r
+ private String featureFlag = null;\r
+\r
+ public PackageDependenciesIdentification(String arg0, String arg1, String arg2, String arg3, Vector<String> arg4) {\r
+ this.name = (arg0 == null ? "" : arg0);\r
+ this.version = (arg1 == null ? "" : arg1);\r
+ this.guid = (arg2 == null ? "" : arg2);\r
+ this.featureFlag = (arg3 == null ? "" : arg3);\r
+ this.supArchList = arg4;\r
+ }\r
+\r
+ public String getFeatureFlag() {\r
+ return featureFlag;\r
+ }\r
+\r
+ public void setFeatureFlag(String featureFlag) {\r
+ this.featureFlag = featureFlag;\r
+ }\r
+\r
+ public String getGuid() {\r
+ return guid;\r
+ }\r
+\r
+ public void setGuid(String guid) {\r
+ this.guid = guid;\r
+ }\r
+\r
+ public String getName() {\r
+ return name;\r
+ }\r
+\r
+ public void setName(String name) {\r
+ this.name = name;\r
+ }\r
+\r
+ public Vector<String> getSupArchList() {\r
+ return supArchList;\r
+ }\r
+\r
+ public void setSupArchList(Vector<String> supArchList) {\r
+ this.supArchList = supArchList;\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 equals(PackageDependenciesIdentification pdi) {\r
+ if (this.guid.equals(pdi.guid)) {\r
+ return true;\r
+ }\r
+ return false;\r
+ }\r
+}\r