]> git.proxmox.com Git - mirror_edk2.git/blob - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/Identifications/Guids/GuidsIdentification.java
Changed spelling to manifest
[mirror_edk2.git] / Tools / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / module / Identifications / Guids / GuidsIdentification.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.Guids;
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 GuidsIdentification {
24
25 //
26 // Define class members
27 //
28 private String name = null;
29
30 private String usage = null;
31
32 private Vector<String> supArchList = null;
33
34 private String featureFlag = null;
35
36 private String help = null;
37
38 private ModuleIdentification belongModule = null;
39
40 private PackageIdentification declaredBy = null;
41
42 public GuidsIdentification(String arg0, String arg1, String arg2, Vector<String> arg3, String arg4) {
43 this.name = (arg0 == null ? "" : arg0);
44 this.usage = (arg1 == null ? "" : arg1);
45 this.featureFlag = (arg2 == null ? "" : arg2);
46 this.supArchList = arg3;
47 this.help = (arg4 == null ? "" : arg4);
48 }
49
50 public String getFeatureFlag() {
51 return featureFlag;
52 }
53
54 public void setFeatureFlag(String featureFlag) {
55 this.featureFlag = featureFlag;
56 }
57
58 public String getName() {
59 return name;
60 }
61
62 public void setName(String name) {
63 this.name = name;
64 }
65
66 public Vector<String> getSupArchList() {
67 return supArchList;
68 }
69
70 public void setSupArchList(Vector<String> supArchList) {
71 this.supArchList = supArchList;
72 }
73
74 public boolean equals(GuidsIdentification pi) {
75 if (this.name.equals(pi.name)) {
76 return true;
77 }
78 return false;
79 }
80
81 public String getUsage() {
82 return usage;
83 }
84
85 public void setUsage(String usage) {
86 this.usage = usage;
87 }
88
89 public String getHelp() {
90 return help;
91 }
92
93 public void setHelp(String help) {
94 this.help = help;
95 }
96
97 public ModuleIdentification getBelongModule() {
98 return belongModule;
99 }
100
101 public void setBelongModule(ModuleIdentification belongModule) {
102 this.belongModule = belongModule;
103 }
104
105 public PackageIdentification getDeclaredBy() {
106 return declaredBy;
107 }
108
109 public void setDeclaredBy(PackageIdentification declaredBy) {
110 this.declaredBy = declaredBy;
111 }
112 }