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
.Identifications
.Protocols
;
18 import java
.util
.Vector
;
20 import org
.tianocore
.frameworkwizard
.module
.Identifications
.ModuleIdentification
;
21 import org
.tianocore
.frameworkwizard
.packaging
.PackageIdentification
;
23 public class ProtocolsIdentification
{
26 // Define class members
28 private String name
= null;
30 private String type
= null;
32 private String usage
= null;
34 private Vector
<String
> supArchList
= null;
36 private String featureFlag
= null;
38 private String help
= null;
40 private ModuleIdentification belongModule
= null;
42 private PackageIdentification declaredBy
= null;
44 public ProtocolsIdentification(String arg0
, String arg1
, String arg2
, String arg3
, Vector
<String
> arg4
, String arg5
) {
45 this.name
= (arg0
== null ?
"" : arg0
);
46 this.type
= (arg1
== null ?
"" : arg1
);
47 this.usage
= (arg2
== null ?
"" : arg2
);
48 this.featureFlag
= (arg3
== null ?
"" : arg3
);
49 this.supArchList
= arg4
;
50 this.help
= (arg5
== null ?
"" : arg5
);
53 public String
getFeatureFlag() {
57 public void setFeatureFlag(String featureFlag
) {
58 this.featureFlag
= featureFlag
;
61 public String
getName() {
65 public void setName(String name
) {
69 public Vector
<String
> getSupArchList() {
73 public void setSupArchList(Vector
<String
> supArchList
) {
74 this.supArchList
= supArchList
;
77 public boolean equals(ProtocolsIdentification pi
) {
78 if (this.name
.equals(pi
.name
)) {
84 public String
getType() {
88 public void setType(String type
) {
92 public String
getUsage() {
96 public void setUsage(String usage
) {
100 public String
getHelp() {
104 public void setHelp(String help
) {
108 public ModuleIdentification
getBelongModule() {
112 public void setBelongModule(ModuleIdentification belongModule
) {
113 this.belongModule
= belongModule
;
116 public PackageIdentification
getDeclaredBy() {
120 public void setDeclaredBy(PackageIdentification declaredBy
) {
121 this.declaredBy
= declaredBy
;