]> git.proxmox.com Git - mirror_edk2.git/blob - Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/Identifications/PcdCoded/PcdCodedIdentification.java
cf4b5bb16fd9e1ebd65c191827b8a9519e8a7de9
[mirror_edk2.git] / Tools / Java / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / module / Identifications / PcdCoded / PcdCodedIdentification.java
1 /** @file
2
3 The file is used to define Package Dependencies Identification
4
5 Copyright (c) 2006, Intel Corporation
6 All rights reserved. This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
10
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13
14 **/
15
16 package org.tianocore.frameworkwizard.module.Identifications.PcdCoded;
17
18 import java.util.Vector;
19
20 import org.tianocore.frameworkwizard.module.Identifications.ModuleIdentification;
21 import org.tianocore.frameworkwizard.packaging.PackageIdentification;
22
23 public class PcdCodedIdentification {
24
25 //
26 // Define class members
27 //
28 private String name = null;
29
30 private String guid = null;
31
32 private String featureFlag = null;
33
34 private Vector<String> supArchList = null;
35
36 private String value = null;
37
38 private String help = null;
39
40 private String type = null;
41
42 private String usage = null;
43
44 private ModuleIdentification belongModule = null;
45
46 private PackageIdentification declaredBy = null;
47
48 public PcdCodedIdentification(String arg0, String arg1, String arg2, Vector<String> arg3, String arg4, String arg5, String arg6, String arg7) {
49 this.name = (arg0 == null ? "" : arg0);
50 this.guid = (arg1 == null ? "" : arg1);
51 this.featureFlag = (arg2 == null ? "" : arg2);
52 this.supArchList = arg3;
53 this.value = (arg4 == null ? "" : arg4);
54 this.help = (arg5 == null ? "" : arg5);
55 this.type = (arg6 == null ? "" : arg6);
56 this.usage = (arg7 == null ? "" : arg7);
57 }
58
59 public String getFeatureFlag() {
60 return featureFlag;
61 }
62
63 public void setFeatureFlag(String featureFlag) {
64 this.featureFlag = featureFlag;
65 }
66
67 public String getName() {
68 return name;
69 }
70
71 public void setName(String name) {
72 this.name = name;
73 }
74
75 public Vector<String> getSupArchList() {
76 return supArchList;
77 }
78
79 public void setSupArchList(Vector<String> supArchList) {
80 this.supArchList = supArchList;
81 }
82
83 public boolean equals(PcdCodedIdentification pi) {
84 if (this.name.equals(pi.name)) {
85 return true;
86 }
87 return false;
88 }
89
90 public String getGuid() {
91 return guid;
92 }
93
94 public void setGuid(String guid) {
95 this.guid = guid;
96 }
97
98 public String getHelp() {
99 return help;
100 }
101
102 public void setHelp(String help) {
103 this.help = help;
104 }
105
106 public String getType() {
107 return type;
108 }
109
110 public void setType(String type) {
111 this.type = type;
112 }
113
114 public String getValue() {
115 return value;
116 }
117
118 public void setValue(String value) {
119 this.value = value;
120 }
121
122 public String getUsage() {
123 return usage;
124 }
125
126 public void setUsage(String usage) {
127 this.usage = usage;
128 }
129
130 public ModuleIdentification getBelongModule() {
131 return belongModule;
132 }
133
134 public void setBelongModule(ModuleIdentification belongModule) {
135 this.belongModule = belongModule;
136 }
137
138 public PackageIdentification getDeclaredBy() {
139 return declaredBy;
140 }
141
142 public void setDeclaredBy(PackageIdentification declaredBy) {
143 this.declaredBy = declaredBy;
144 }
145 }