3 The file is used to define Package Dependencies Identification
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
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.
16 package org
.tianocore
.frameworkwizard
.module
.Identification
.PackageDependencies
;
18 import java
.util
.Vector
;
20 public class PackageDependenciesIdentification
{
23 // Define class members
25 private String name
= null;
27 private String version
= null;
29 private String guid
= null;
31 private Vector
<String
> supArchList
= null;
33 private String featureFlag
= null;
35 public PackageDependenciesIdentification(String arg0
, String arg1
, String arg2
, String arg3
, Vector
<String
> arg4
) {
36 this.name
= (arg0
== null ?
"" : arg0
);
37 this.version
= (arg1
== null ?
"" : arg1
);
38 this.guid
= (arg2
== null ?
"" : arg2
);
39 this.featureFlag
= (arg3
== null ?
"" : arg3
);
40 this.supArchList
= arg4
;
43 public String
getFeatureFlag() {
47 public void setFeatureFlag(String featureFlag
) {
48 this.featureFlag
= featureFlag
;
51 public String
getGuid() {
55 public void setGuid(String guid
) {
59 public String
getName() {
63 public void setName(String name
) {
67 public Vector
<String
> getSupArchList() {
71 public void setSupArchList(Vector
<String
> supArchList
) {
72 this.supArchList
= supArchList
;
75 public String
getVersion() {
79 public void setVersion(String version
) {
80 this.version
= version
;
83 public boolean equals(PackageDependenciesIdentification pdi
) {
84 if (this.guid
.equals(pdi
.guid
)) {