]> git.proxmox.com Git - mirror_edk2.git/blob - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/Identifications/PcdCoded/PcdCodedIdentification.java
02ae08d4d7ae5ccee3b06d40c2989f2e793a7e6f
[mirror_edk2.git] / Tools / 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 public class PcdCodedIdentification {
21
22 //
23 // Define class members
24 //
25 private String name = null;
26
27 private String guid = null;
28
29 private String featureFlag = null;
30
31 private Vector<String> supArchList = null;
32
33 private String value = null;
34
35 private String help = null;
36
37 private String type = null;
38
39 private String usage = null;
40
41 public PcdCodedIdentification(String arg0, String arg1, String arg2, Vector<String> arg3, String arg4, String arg5, String arg6, String arg7) {
42 this.name = (arg0 == null ? "" : arg0);
43 this.guid = (arg1 == null ? "" : arg1);
44 this.featureFlag = (arg2 == null ? "" : arg2);
45 this.supArchList = arg3;
46 this.value = (arg4 == null ? "" : arg4);
47 this.help = (arg5 == null ? "" : arg5);
48 this.type = (arg6 == null ? "" : arg6);
49 this.usage = (arg7 == null ? "" : arg7);
50 }
51
52 public String getFeatureFlag() {
53 return featureFlag;
54 }
55
56 public void setFeatureFlag(String featureFlag) {
57 this.featureFlag = featureFlag;
58 }
59
60 public String getName() {
61 return name;
62 }
63
64 public void setName(String name) {
65 this.name = name;
66 }
67
68 public Vector<String> getSupArchList() {
69 return supArchList;
70 }
71
72 public void setSupArchList(Vector<String> supArchList) {
73 this.supArchList = supArchList;
74 }
75
76 public boolean equals(PcdCodedIdentification pi) {
77 if (this.name.equals(pi.name)) {
78 return true;
79 }
80 return false;
81 }
82
83 public String getGuid() {
84 return guid;
85 }
86
87 public void setGuid(String guid) {
88 this.guid = guid;
89 }
90
91 public String getHelp() {
92 return help;
93 }
94
95 public void setHelp(String help) {
96 this.help = help;
97 }
98
99 public String getType() {
100 return type;
101 }
102
103 public void setType(String type) {
104 this.type = type;
105 }
106
107 public String getValue() {
108 return value;
109 }
110
111 public void setValue(String value) {
112 this.value = value;
113 }
114
115 public String getUsage() {
116 return usage;
117 }
118
119 public void setUsage(String usage) {
120 this.usage = usage;
121 }
122 }