]>
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 | |
16 | package org.tianocore.frameworkwizard.module.Identification.Hobs;\r | |
17 | \r | |
18 | import java.util.Vector;\r | |
19 | \r | |
20 | public class HobsIdentification {\r | |
21 | \r | |
22 | //\r | |
23 | // Define class members\r | |
24 | //\r | |
25 | private String name = null;\r | |
26 | \r | |
27 | private String type = null;\r | |
28 | \r | |
29 | private String usage = null;\r | |
30 | \r | |
31 | private Vector<String> supArchList = null;\r | |
32 | \r | |
33 | private String featureFlag = null;\r | |
34 | \r | |
35 | private String help = null;\r | |
36 | \r | |
37 | public HobsIdentification(String arg0, String arg1, String arg2, String arg3, Vector<String> arg4, String arg5) {\r | |
38 | this.name = (arg0 == null ? "" : arg0);\r | |
39 | this.type = (arg1 == null ? "" : arg1);\r | |
40 | this.usage = (arg2 == null ? "" : arg2);\r | |
41 | this.featureFlag = (arg3 == null ? "" : arg3);\r | |
42 | this.supArchList = arg4;\r | |
43 | this.help = (arg5 == null ? "" : arg5);\r | |
44 | }\r | |
45 | \r | |
46 | public String getFeatureFlag() {\r | |
47 | return featureFlag;\r | |
48 | }\r | |
49 | \r | |
50 | public void setFeatureFlag(String featureFlag) {\r | |
51 | this.featureFlag = featureFlag;\r | |
52 | }\r | |
53 | \r | |
54 | public String getName() {\r | |
55 | return name;\r | |
56 | }\r | |
57 | \r | |
58 | public void setName(String name) {\r | |
59 | this.name = name;\r | |
60 | }\r | |
61 | \r | |
62 | public Vector<String> getSupArchList() {\r | |
63 | return supArchList;\r | |
64 | }\r | |
65 | \r | |
66 | public void setSupArchList(Vector<String> supArchList) {\r | |
67 | this.supArchList = supArchList;\r | |
68 | }\r | |
69 | \r | |
70 | public boolean equals(HobsIdentification pi) {\r | |
71 | if (this.name.equals(pi.name)) {\r | |
72 | return true;\r | |
73 | }\r | |
74 | return false;\r | |
75 | }\r | |
76 | \r | |
77 | public String getType() {\r | |
78 | return type;\r | |
79 | }\r | |
80 | \r | |
81 | public void setType(String type) {\r | |
82 | this.type = type;\r | |
83 | }\r | |
84 | \r | |
85 | public String getUsage() {\r | |
86 | return usage;\r | |
87 | }\r | |
88 | \r | |
89 | public void setUsage(String usage) {\r | |
90 | this.usage = usage;\r | |
91 | }\r | |
92 | \r | |
93 | public String getHelp() {\r | |
94 | return help;\r | |
95 | }\r | |
96 | \r | |
97 | public void setHelp(String help) {\r | |
98 | this.help = help;\r | |
99 | }\r | |
100 | }\r |