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 |
16 | package org.tianocore.frameworkwizard.module.Identifications.PcdCoded;\r |
a13899c5 |
17 | \r |
18 | import java.util.Vector;\r |
19 | \r |
55e83b18 |
20 | import org.tianocore.frameworkwizard.module.Identifications.ModuleIdentification;\r |
21 | import org.tianocore.frameworkwizard.packaging.PackageIdentification;\r |
22 | \r |
a13899c5 |
23 | public 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 |
44 | private ModuleIdentification belongModule = null;\r |
45 | \r |
46 | private PackageIdentification declaredBy = null;\r |
a13899c5 |
47 | \r |
fd16c6d5 |
48 | public PcdCodedIdentification(String arg0, String arg1, String arg2, Vector<String> arg3, String arg4, String arg5, String arg6, String arg7) {\r |
a13899c5 |
49 | this.name = (arg0 == null ? "" : arg0);\r |
50 | this.guid = (arg1 == null ? "" : arg1);\r |
51 | this.featureFlag = (arg2 == null ? "" : arg2);\r |
52 | this.supArchList = arg3;\r |
53 | this.value = (arg4 == null ? "" : arg4);\r |
54 | this.help = (arg5 == null ? "" : arg5);\r |
55 | this.type = (arg6 == null ? "" : arg6);\r |
fd16c6d5 |
56 | this.usage = (arg7 == null ? "" : arg7);\r |
a13899c5 |
57 | }\r |
58 | \r |
59 | public String getFeatureFlag() {\r |
60 | return featureFlag;\r |
61 | }\r |
62 | \r |
63 | public void setFeatureFlag(String featureFlag) {\r |
64 | this.featureFlag = featureFlag;\r |
65 | }\r |
66 | \r |
67 | public String getName() {\r |
68 | return name;\r |
69 | }\r |
70 | \r |
71 | public void setName(String name) {\r |
72 | this.name = name;\r |
73 | }\r |
74 | \r |
75 | public Vector<String> getSupArchList() {\r |
76 | return supArchList;\r |
77 | }\r |
78 | \r |
79 | public void setSupArchList(Vector<String> supArchList) {\r |
80 | this.supArchList = supArchList;\r |
81 | }\r |
82 | \r |
83 | public boolean equals(PcdCodedIdentification pi) {\r |
84 | if (this.name.equals(pi.name)) {\r |
85 | return true;\r |
86 | }\r |
87 | return false;\r |
88 | }\r |
89 | \r |
90 | public String getGuid() {\r |
91 | return guid;\r |
92 | }\r |
93 | \r |
94 | public void setGuid(String guid) {\r |
95 | this.guid = guid;\r |
96 | }\r |
97 | \r |
98 | public String getHelp() {\r |
99 | return help;\r |
100 | }\r |
101 | \r |
102 | public void setHelp(String help) {\r |
103 | this.help = help;\r |
104 | }\r |
105 | \r |
106 | public String getType() {\r |
107 | return type;\r |
108 | }\r |
109 | \r |
110 | public void setType(String type) {\r |
111 | this.type = type;\r |
112 | }\r |
113 | \r |
114 | public String getValue() {\r |
115 | return value;\r |
116 | }\r |
117 | \r |
118 | public void setValue(String value) {\r |
119 | this.value = value;\r |
120 | }\r |
fd16c6d5 |
121 | \r |
122 | public String getUsage() {\r |
123 | return usage;\r |
124 | }\r |
125 | \r |
126 | public void setUsage(String usage) {\r |
127 | this.usage = usage;\r |
128 | }\r |
55e83b18 |
129 | \r |
130 | public ModuleIdentification getBelongModule() {\r |
131 | return belongModule;\r |
132 | }\r |
133 | \r |
134 | public void setBelongModule(ModuleIdentification belongModule) {\r |
135 | this.belongModule = belongModule;\r |
136 | }\r |
137 | \r |
138 | public PackageIdentification getDeclaredBy() {\r |
139 | return declaredBy;\r |
140 | }\r |
141 | \r |
142 | public void setDeclaredBy(PackageIdentification declaredBy) {\r |
143 | this.declaredBy = declaredBy;\r |
144 | }\r |
a13899c5 |
145 | }\r |