]> git.proxmox.com Git - mirror_edk2.git/blob - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/Identification/Hobs/HobsIdentification.java
f577724d779e7331145be9a1e989c9c4ff31387c
[mirror_edk2.git] / Tools / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / module / Identification / Hobs / HobsIdentification.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.Identification.Hobs;
17
18 import java.util.Vector;
19
20 public class HobsIdentification {
21
22 //
23 // Define class members
24 //
25 private String name = null;
26
27 private String type = null;
28
29 private String usage = null;
30
31 private Vector<String> supArchList = null;
32
33 private String featureFlag = null;
34
35 private String help = null;
36
37 public HobsIdentification(String arg0, String arg1, String arg2, String arg3, Vector<String> arg4, String arg5) {
38 this.name = (arg0 == null ? "" : arg0);
39 this.type = (arg1 == null ? "" : arg1);
40 this.usage = (arg2 == null ? "" : arg2);
41 this.featureFlag = (arg3 == null ? "" : arg3);
42 this.supArchList = arg4;
43 this.help = (arg5 == null ? "" : arg5);
44 }
45
46 public String getFeatureFlag() {
47 return featureFlag;
48 }
49
50 public void setFeatureFlag(String featureFlag) {
51 this.featureFlag = featureFlag;
52 }
53
54 public String getName() {
55 return name;
56 }
57
58 public void setName(String name) {
59 this.name = name;
60 }
61
62 public Vector<String> getSupArchList() {
63 return supArchList;
64 }
65
66 public void setSupArchList(Vector<String> supArchList) {
67 this.supArchList = supArchList;
68 }
69
70 public boolean equals(HobsIdentification pi) {
71 if (this.name.equals(pi.name)) {
72 return true;
73 }
74 return false;
75 }
76
77 public String getType() {
78 return type;
79 }
80
81 public void setType(String type) {
82 this.type = type;
83 }
84
85 public String getUsage() {
86 return usage;
87 }
88
89 public void setUsage(String usage) {
90 this.usage = usage;
91 }
92
93 public String getHelp() {
94 return help;
95 }
96
97 public void setHelp(String help) {
98 this.help = help;
99 }
100 }