]> git.proxmox.com Git - mirror_edk2.git/blame - Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/Identifications/PcdCoded/PcdCodedIdentification.java
1. Fix EDKT434: After Workspace is changed, Wizard should close all (desktop area...
[mirror_edk2.git] / Tools / Java / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / module / Identifications / PcdCoded / PcdCodedIdentification.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.PcdCoded;\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 PcdCodedIdentification {\r
24\r
25 //\r
26 // Define class members\r
27 //\r
28 private String name = null;\r
29\r
30 private String guid = null;\r
31 \r
32 private String featureFlag = null;\r
33\r
34 private Vector<String> supArchList = null;\r
35\r
36 private String value = null;\r
37 \r
38 private String help = null;\r
39 \r
40 private String type = null;\r
fd16c6d5 41 \r
42 private String usage = null;\r
55e83b18 43 \r
d12f87d3 44 private String tokenSpaceGuidCName = null;\r
45 \r
46 private String token = null;\r
47 \r
48 private String datumType = null;\r
49 \r
55e83b18 50 private ModuleIdentification belongModule = null;\r
51 \r
52 private PackageIdentification declaredBy = null;\r
a13899c5 53\r
fd16c6d5 54 public PcdCodedIdentification(String arg0, String arg1, String arg2, Vector<String> arg3, String arg4, String arg5, String arg6, String arg7) {\r
a13899c5 55 this.name = (arg0 == null ? "" : arg0);\r
56 this.guid = (arg1 == null ? "" : arg1);\r
57 this.featureFlag = (arg2 == null ? "" : arg2);\r
58 this.supArchList = arg3;\r
59 this.value = (arg4 == null ? "" : arg4);\r
60 this.help = (arg5 == null ? "" : arg5);\r
61 this.type = (arg6 == null ? "" : arg6);\r
fd16c6d5 62 this.usage = (arg7 == null ? "" : arg7);\r
a13899c5 63 }\r
64\r
65 public String getFeatureFlag() {\r
66 return featureFlag;\r
67 }\r
68\r
69 public void setFeatureFlag(String featureFlag) {\r
70 this.featureFlag = featureFlag;\r
71 }\r
72\r
73 public String getName() {\r
74 return name;\r
75 }\r
76\r
77 public void setName(String name) {\r
78 this.name = name;\r
79 }\r
80\r
81 public Vector<String> getSupArchList() {\r
82 return supArchList;\r
83 }\r
84\r
85 public void setSupArchList(Vector<String> supArchList) {\r
86 this.supArchList = supArchList;\r
87 }\r
88 \r
89 public boolean equals(PcdCodedIdentification pi) {\r
90 if (this.name.equals(pi.name)) {\r
91 return true;\r
92 }\r
93 return false;\r
94 }\r
95\r
96 public String getGuid() {\r
97 return guid;\r
98 }\r
99\r
100 public void setGuid(String guid) {\r
101 this.guid = guid;\r
102 }\r
103\r
104 public String getHelp() {\r
105 return help;\r
106 }\r
107\r
108 public void setHelp(String help) {\r
109 this.help = help;\r
110 }\r
111\r
112 public String getType() {\r
113 return type;\r
114 }\r
115\r
116 public void setType(String type) {\r
117 this.type = type;\r
118 }\r
119\r
120 public String getValue() {\r
121 return value;\r
122 }\r
123\r
124 public void setValue(String value) {\r
125 this.value = value;\r
126 }\r
fd16c6d5 127\r
128 public String getUsage() {\r
129 return usage;\r
130 }\r
131\r
132 public void setUsage(String usage) {\r
133 this.usage = usage;\r
134 }\r
55e83b18 135 \r
136 public ModuleIdentification getBelongModule() {\r
137 return belongModule;\r
138 }\r
139\r
140 public void setBelongModule(ModuleIdentification belongModule) {\r
141 this.belongModule = belongModule;\r
142 }\r
143\r
144 public PackageIdentification getDeclaredBy() {\r
145 return declaredBy;\r
146 }\r
147\r
148 public void setDeclaredBy(PackageIdentification declaredBy) {\r
149 this.declaredBy = declaredBy;\r
150 }\r
d12f87d3 151\r
152 public String getToken() {\r
153 return token;\r
154 }\r
155\r
156 public void setToken(String token) {\r
157 this.token = token;\r
158 }\r
159\r
160 public String getTokenSpaceGuidCName() {\r
161 return tokenSpaceGuidCName;\r
162 }\r
163\r
164 public void setTokenSpaceGuidCName(String tokenSpaceGuidCName) {\r
165 this.tokenSpaceGuidCName = tokenSpaceGuidCName;\r
166 }\r
167\r
168 public String getDatumType() {\r
169 return datumType;\r
170 }\r
171\r
172 public void setDatumType(String datumType) {\r
173 this.datumType = datumType;\r
174 }\r
a13899c5 175}\r