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