]> git.proxmox.com Git - mirror_edk2.git/blob - Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/Identifications/Ppis/PpisIdentification.java
Restructuring for better separation of Tool packages.
[mirror_edk2.git] / Tools / Java / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / module / Identifications / Ppis / PpisIdentification.java
1 /** @file
2
3 The file is used to define Package Dependencies Identification
4
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
10
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.
13
14 **/
15
16 package org.tianocore.frameworkwizard.module.Identifications.Ppis;
17
18 import java.util.Vector;
19
20 import org.tianocore.frameworkwizard.module.Identifications.ModuleIdentification;
21 import org.tianocore.frameworkwizard.packaging.PackageIdentification;
22
23 public class PpisIdentification {
24
25 //
26 // Define class members
27 //
28 private String name = null;
29
30 private String type = null;
31
32 private String usage = null;
33
34 private Vector<String> supArchList = null;
35
36 private String featureFlag = null;
37
38 private String help = null;
39
40 private ModuleIdentification belongModule = null;
41
42 private PackageIdentification declaredBy = null;
43
44 public PpisIdentification(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);
51 }
52
53 public String getFeatureFlag() {
54 return featureFlag;
55 }
56
57 public void setFeatureFlag(String featureFlag) {
58 this.featureFlag = featureFlag;
59 }
60
61 public String getName() {
62 return name;
63 }
64
65 public void setName(String name) {
66 this.name = name;
67 }
68
69 public Vector<String> getSupArchList() {
70 return supArchList;
71 }
72
73 public void setSupArchList(Vector<String> supArchList) {
74 this.supArchList = supArchList;
75 }
76
77 public boolean equals(PpisIdentification pi) {
78 if (this.name.equals(pi.name)) {
79 return true;
80 }
81 return false;
82 }
83
84 public String getType() {
85 return type;
86 }
87
88 public void setType(String type) {
89 this.type = type;
90 }
91
92 public String getUsage() {
93 return usage;
94 }
95
96 public void setUsage(String usage) {
97 this.usage = usage;
98 }
99
100 public String getHelp() {
101 return help;
102 }
103
104 public void setHelp(String help) {
105 this.help = help;
106 }
107
108 public ModuleIdentification getBelongModule() {
109 return belongModule;
110 }
111
112 public void setBelongModule(ModuleIdentification belongModule) {
113 this.belongModule = belongModule;
114 }
115
116 public PackageIdentification getDeclaredBy() {
117 return declaredBy;
118 }
119
120 public void setDeclaredBy(PackageIdentification declaredBy) {
121 this.declaredBy = declaredBy;
122 }
123 }