]>
Commit | Line | Data |
---|---|---|
98538460 | 1 | /** @file\r |
2 | \r | |
3 | The file is used to define Pcd Item 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.PcdCoded;\r | |
17 | \r | |
18 | import java.util.Vector;\r | |
19 | \r | |
20 | public class PcdIdentification {\r | |
21 | //\r | |
22 | // Define class members\r | |
23 | //\r | |
24 | private String name = null;\r | |
25 | \r | |
26 | private String guidCName = null;\r | |
27 | \r | |
28 | private String help = null;\r | |
29 | \r | |
30 | private Vector<String> type = null;\r | |
31 | \r | |
32 | public PcdIdentification(String arg0, String arg1, String arg2, Vector<String> arg3) {\r | |
33 | this.name = (arg0 == null ? "" : arg0);\r | |
34 | this.guidCName = (arg1 == null ? "" : arg1);\r | |
35 | this.help = (arg2 == null ? "" : arg2);\r | |
36 | this.type = arg3;\r | |
37 | }\r | |
38 | \r | |
39 | public String getHelp() {\r | |
40 | return help;\r | |
41 | }\r | |
42 | \r | |
43 | public void setHelp(String help) {\r | |
44 | this.help = help;\r | |
45 | }\r | |
46 | \r | |
47 | public String getGuidCName() {\r | |
48 | return guidCName;\r | |
49 | }\r | |
50 | \r | |
51 | public void setGuidCName(String guidCName) {\r | |
52 | this.guidCName = guidCName;\r | |
53 | }\r | |
54 | \r | |
55 | public String getName() {\r | |
56 | return name;\r | |
57 | }\r | |
58 | \r | |
59 | public void setName(String name) {\r | |
60 | this.name = name;\r | |
61 | }\r | |
62 | \r | |
63 | public Vector<String> getType() {\r | |
64 | return type;\r | |
65 | }\r | |
66 | \r | |
67 | public void setType(Vector<String> type) {\r | |
68 | this.type = type;\r | |
69 | }\r | |
70 | \r | |
71 | public String toString() {\r | |
72 | return name;\r | |
73 | }\r | |
74 | }\r |