]>
Commit | Line | Data |
---|---|---|
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.Protocols;\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 ProtocolsIdentification {\r |
24 | \r | |
25 | //\r | |
26 | // Define class members\r | |
27 | //\r | |
28 | private String name = null;\r | |
29 | \r | |
30 | private String type = null;\r | |
31 | \r | |
32 | private String usage = null;\r | |
33 | \r | |
34 | private Vector<String> supArchList = null;\r | |
35 | \r | |
36 | private String featureFlag = null;\r | |
37 | \r | |
38 | private String help = null;\r | |
55e83b18 | 39 | \r |
40 | private ModuleIdentification belongModule = null;\r | |
41 | \r | |
42 | private PackageIdentification declaredBy = null;\r | |
a13899c5 | 43 | \r |
44 | public ProtocolsIdentification(String arg0, String arg1, String arg2, String arg3, Vector<String> arg4, String arg5) {\r | |
45 | this.name = (arg0 == null ? "" : arg0);\r | |
46 | this.type = (arg1 == null ? "" : arg1);\r | |
47 | this.usage = (arg2 == null ? "" : arg2);\r | |
48 | this.featureFlag = (arg3 == null ? "" : arg3);\r | |
49 | this.supArchList = arg4;\r | |
50 | this.help = (arg5 == null ? "" : arg5);\r | |
51 | }\r | |
52 | \r | |
53 | public String getFeatureFlag() {\r | |
54 | return featureFlag;\r | |
55 | }\r | |
56 | \r | |
57 | public void setFeatureFlag(String featureFlag) {\r | |
58 | this.featureFlag = featureFlag;\r | |
59 | }\r | |
60 | \r | |
61 | public String getName() {\r | |
62 | return name;\r | |
63 | }\r | |
64 | \r | |
65 | public void setName(String name) {\r | |
66 | this.name = name;\r | |
67 | }\r | |
68 | \r | |
69 | public Vector<String> getSupArchList() {\r | |
70 | return supArchList;\r | |
71 | }\r | |
72 | \r | |
73 | public void setSupArchList(Vector<String> supArchList) {\r | |
74 | this.supArchList = supArchList;\r | |
75 | }\r | |
76 | \r | |
77 | public boolean equals(ProtocolsIdentification pi) {\r | |
78 | if (this.name.equals(pi.name)) {\r | |
79 | return true;\r | |
80 | }\r | |
81 | return false;\r | |
82 | }\r | |
83 | \r | |
84 | public String getType() {\r | |
85 | return type;\r | |
86 | }\r | |
87 | \r | |
88 | public void setType(String type) {\r | |
89 | this.type = type;\r | |
90 | }\r | |
91 | \r | |
92 | public String getUsage() {\r | |
93 | return usage;\r | |
94 | }\r | |
95 | \r | |
96 | public void setUsage(String usage) {\r | |
97 | this.usage = usage;\r | |
98 | }\r | |
99 | \r | |
100 | public String getHelp() {\r | |
101 | return help;\r | |
102 | }\r | |
103 | \r | |
104 | public void setHelp(String help) {\r | |
105 | this.help = help;\r | |
106 | }\r | |
55e83b18 | 107 | \r |
108 | public ModuleIdentification getBelongModule() {\r | |
109 | return belongModule;\r | |
110 | }\r | |
111 | \r | |
112 | public void setBelongModule(ModuleIdentification belongModule) {\r | |
113 | this.belongModule = belongModule;\r | |
114 | }\r | |
115 | \r | |
116 | public PackageIdentification getDeclaredBy() {\r | |
117 | return declaredBy;\r | |
118 | }\r | |
119 | \r | |
120 | public void setDeclaredBy(PackageIdentification declaredBy) {\r | |
121 | this.declaredBy = declaredBy;\r | |
122 | }\r | |
a13899c5 | 123 | }\r |