]> git.proxmox.com Git - mirror_edk2.git/blob - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/Identifications/Externs/ExternsIdentification.java
1. Restructure some folders and files
[mirror_edk2.git] / Tools / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / module / Identifications / Externs / ExternsIdentification.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.Externs;
17
18 import java.util.Vector;
19
20 public class ExternsIdentification {
21
22 //
23 // Define class members
24 //
25 private String name = null;
26
27 private String type = null;
28
29 private Vector<String> supArchList = null;
30
31 private String featureFlag = null;
32
33 public ExternsIdentification(String arg0, String arg1, String arg2, Vector<String> arg3) {
34 this.name = (arg0 == null ? "" : arg0);
35 this.type = (arg1 == null ? "" : arg1);
36 this.featureFlag = (arg2 == null ? "" : arg2);
37 this.supArchList = arg3;
38 }
39
40 public String getFeatureFlag() {
41 return featureFlag;
42 }
43
44 public void setFeatureFlag(String featureFlag) {
45 this.featureFlag = featureFlag;
46 }
47
48 public String getName() {
49 return name;
50 }
51
52 public void setName(String name) {
53 this.name = name;
54 }
55
56 public Vector<String> getSupArchList() {
57 return supArchList;
58 }
59
60 public void setSupArchList(Vector<String> supArchList) {
61 this.supArchList = supArchList;
62 }
63
64 public boolean equals(ExternsIdentification pi) {
65 if (this.name.equals(pi.name)) {
66 return true;
67 }
68 return false;
69 }
70
71 public String getType() {
72 return type;
73 }
74
75 public void setType(String type) {
76 this.type = type;
77 }
78 }