]> git.proxmox.com Git - mirror_edk2.git/blame - Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/Identifications/Events/EventsIdentification.java
1. Fix EDKT528: Framework wizard should not force user to specify a GuidCName for...
[mirror_edk2.git] / Tools / Java / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / module / Identifications / Events / EventsIdentification.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.Events;\r
a13899c5 17\r
18import java.util.Vector;\r
19\r
5b396948 20import org.tianocore.frameworkwizard.common.DataType;\r
21\r
a13899c5 22public class EventsIdentification {\r
23\r
24 //\r
25 // Define class members\r
26 //\r
27 private String name = null;\r
28\r
29 private String type = null;\r
30\r
31 private String usage = null;\r
32\r
33 private Vector<String> supArchList = null;\r
34\r
35 private String featureFlag = null;\r
36 \r
37 private String help = null;\r
9a8d6d9f 38 \r
39 private String group = null;\r
a13899c5 40\r
9a8d6d9f 41 public EventsIdentification(String arg0, String arg1, String arg2, String arg3, Vector<String> arg4, String arg5, String arg6) {\r
a13899c5 42 this.name = (arg0 == null ? "" : arg0);\r
5b396948 43 this.name = (this.name == DataType.EMPTY_SELECT_ITEM ? "" : this.name);\r
a13899c5 44 this.type = (arg1 == null ? "" : arg1);\r
45 this.usage = (arg2 == null ? "" : arg2);\r
46 this.featureFlag = (arg3 == null ? "" : arg3);\r
47 this.supArchList = arg4;\r
48 this.help = (arg5 == null ? "" : arg5);\r
9a8d6d9f 49 this.group = (arg6 == null ? "" : arg6);\r
a13899c5 50 }\r
51\r
52 public String getFeatureFlag() {\r
53 return featureFlag;\r
54 }\r
55\r
56 public void setFeatureFlag(String featureFlag) {\r
57 this.featureFlag = featureFlag;\r
58 }\r
59\r
60 public String getName() {\r
61 return name;\r
62 }\r
63\r
64 public void setName(String name) {\r
65 this.name = name;\r
66 }\r
67\r
68 public Vector<String> getSupArchList() {\r
69 return supArchList;\r
70 }\r
71\r
72 public void setSupArchList(Vector<String> supArchList) {\r
73 this.supArchList = supArchList;\r
74 }\r
75 \r
76 public boolean equals(EventsIdentification pi) {\r
77 if (this.name.equals(pi.name)) {\r
78 return true;\r
79 }\r
80 return false;\r
81 }\r
82\r
83 public String getType() {\r
84 return type;\r
85 }\r
86\r
87 public void setType(String type) {\r
88 this.type = type;\r
89 }\r
90\r
91 public String getUsage() {\r
92 return usage;\r
93 }\r
94\r
95 public void setUsage(String usage) {\r
96 this.usage = usage;\r
97 }\r
98\r
99 public String getHelp() {\r
100 return help;\r
101 }\r
102\r
103 public void setHelp(String help) {\r
104 this.help = help;\r
105 }\r
9a8d6d9f 106\r
107 public String getGroup() {\r
108 return group;\r
109 }\r
110\r
111 public void setGroup(String group) {\r
112 this.group = group;\r
113 }\r
a13899c5 114}\r