]> git.proxmox.com Git - mirror_edk2.git/blame - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/Identifications/Guids/GuidsIdentification.java
Changed spelling to manifest
[mirror_edk2.git] / Tools / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / module / Identifications / Guids / GuidsIdentification.java
CommitLineData
a13899c5 1/** @file\r
2\r
3 The file is used to define Package Dependencies Identification\r
4\r
5 Copyright (c) 2006, Intel Corporation\r
6 All rights reserved. This program and the accompanying materials\r
7 are licensed and made available under the terms and conditions of the BSD License\r
8 which accompanies this distribution. The full text of the license may be found at\r
9 http://opensource.org/licenses/bsd-license.php\r
10\r
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13\r
14 **/\r
15\r
79cb6fdb 16package org.tianocore.frameworkwizard.module.Identifications.Guids;\r
a13899c5 17\r
18import java.util.Vector;\r
19\r
55e83b18 20import org.tianocore.frameworkwizard.module.Identifications.ModuleIdentification;\r
21import org.tianocore.frameworkwizard.packaging.PackageIdentification;\r
22\r
a13899c5 23public class GuidsIdentification {\r
24\r
25 //\r
26 // Define class members\r
27 //\r
28 private String name = null;\r
29\r
30 private String usage = null;\r
31\r
32 private Vector<String> supArchList = null;\r
33\r
34 private String featureFlag = null;\r
35 \r
36 private String help = null;\r
55e83b18 37 \r
38 private ModuleIdentification belongModule = null;\r
39 \r
40 private PackageIdentification declaredBy = null;\r
a13899c5 41\r
42 public GuidsIdentification(String arg0, String arg1, String arg2, Vector<String> arg3, String arg4) {\r
43 this.name = (arg0 == null ? "" : arg0);\r
44 this.usage = (arg1 == null ? "" : arg1);\r
45 this.featureFlag = (arg2 == null ? "" : arg2);\r
46 this.supArchList = arg3;\r
47 this.help = (arg4 == null ? "" : arg4);\r
48 }\r
49\r
50 public String getFeatureFlag() {\r
51 return featureFlag;\r
52 }\r
53\r
54 public void setFeatureFlag(String featureFlag) {\r
55 this.featureFlag = featureFlag;\r
56 }\r
57\r
58 public String getName() {\r
59 return name;\r
60 }\r
61\r
62 public void setName(String name) {\r
63 this.name = name;\r
64 }\r
65\r
66 public Vector<String> getSupArchList() {\r
67 return supArchList;\r
68 }\r
69\r
70 public void setSupArchList(Vector<String> supArchList) {\r
71 this.supArchList = supArchList;\r
72 }\r
73 \r
74 public boolean equals(GuidsIdentification pi) {\r
75 if (this.name.equals(pi.name)) {\r
76 return true;\r
77 }\r
78 return false;\r
79 }\r
80\r
81 public String getUsage() {\r
82 return usage;\r
83 }\r
84\r
85 public void setUsage(String usage) {\r
86 this.usage = usage;\r
87 }\r
88\r
89 public String getHelp() {\r
90 return help;\r
91 }\r
92\r
93 public void setHelp(String help) {\r
94 this.help = help;\r
95 }\r
55e83b18 96 \r
97 public ModuleIdentification getBelongModule() {\r
98 return belongModule;\r
99 }\r
100\r
101 public void setBelongModule(ModuleIdentification belongModule) {\r
102 this.belongModule = belongModule;\r
103 }\r
104\r
105 public PackageIdentification getDeclaredBy() {\r
106 return declaredBy;\r
107 }\r
108\r
109 public void setDeclaredBy(PackageIdentification declaredBy) {\r
110 this.declaredBy = declaredBy;\r
111 }\r
a13899c5 112}\r