3 The file is used to define Package Dependencies Identification
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
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.
16 package org
.tianocore
.frameworkwizard
.module
.Identifications
.PcdCoded
;
18 import java
.util
.Vector
;
20 import org
.tianocore
.frameworkwizard
.module
.Identifications
.ModuleIdentification
;
21 import org
.tianocore
.frameworkwizard
.packaging
.PackageIdentification
;
23 public class PcdCodedIdentification
{
26 // Define class members
28 private String name
= null;
30 private String guid
= null;
32 private String featureFlag
= null;
34 private Vector
<String
> supArchList
= null;
36 private String value
= null;
38 private String help
= null;
40 private String type
= null;
42 private String usage
= null;
44 private String tokenSpaceGuidCName
= null;
46 private String token
= null;
48 private String datumType
= null;
50 private ModuleIdentification belongModule
= null;
52 private PackageIdentification declaredBy
= null;
54 public PcdCodedIdentification(String arg0
, String arg1
, String arg2
, Vector
<String
> arg3
, String arg4
, String arg5
, String arg6
, String arg7
) {
55 this.name
= (arg0
== null ?
"" : arg0
);
56 this.guid
= (arg1
== null ?
"" : arg1
);
57 this.featureFlag
= (arg2
== null ?
"" : arg2
);
58 this.supArchList
= arg3
;
59 this.value
= (arg4
== null ?
"" : arg4
);
60 this.help
= (arg5
== null ?
"" : arg5
);
61 this.type
= (arg6
== null ?
"" : arg6
);
62 this.usage
= (arg7
== null ?
"" : arg7
);
65 public String
getFeatureFlag() {
69 public void setFeatureFlag(String featureFlag
) {
70 this.featureFlag
= featureFlag
;
73 public String
getName() {
77 public void setName(String name
) {
81 public Vector
<String
> getSupArchList() {
85 public void setSupArchList(Vector
<String
> supArchList
) {
86 this.supArchList
= supArchList
;
89 public boolean equals(PcdCodedIdentification pi
) {
90 if (this.name
.equals(pi
.name
)) {
96 public String
getGuid() {
100 public void setGuid(String guid
) {
104 public String
getHelp() {
108 public void setHelp(String help
) {
112 public String
getType() {
116 public void setType(String type
) {
120 public String
getValue() {
124 public void setValue(String value
) {
128 public String
getUsage() {
132 public void setUsage(String usage
) {
136 public ModuleIdentification
getBelongModule() {
140 public void setBelongModule(ModuleIdentification belongModule
) {
141 this.belongModule
= belongModule
;
144 public PackageIdentification
getDeclaredBy() {
148 public void setDeclaredBy(PackageIdentification declaredBy
) {
149 this.declaredBy
= declaredBy
;
152 public String
getToken() {
156 public void setToken(String token
) {
160 public String
getTokenSpaceGuidCName() {
161 return tokenSpaceGuidCName
;
164 public void setTokenSpaceGuidCName(String tokenSpaceGuidCName
) {
165 this.tokenSpaceGuidCName
= tokenSpaceGuidCName
;
168 public String
getDatumType() {
172 public void setDatumType(String datumType
) {
173 this.datumType
= datumType
;