]> git.proxmox.com Git - mirror_edk2.git/blame - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/Identification/Externs/ExternsIdentification.java
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@671 6f19259b...
[mirror_edk2.git] / Tools / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / module / Identification / Externs / ExternsIdentification.java
CommitLineData
a13899c5 1/** @file\r
2\r
3 The file is used to define Package Dependencies Identification\r
4\r
5 Copyright (c) 2006, Intel Corporation\r
6 All rights reserved. This program and the accompanying materials\r
7 are licensed and made available under the terms and conditions of the BSD License\r
8 which accompanies this distribution. The full text of the license may be found at\r
9 http://opensource.org/licenses/bsd-license.php\r
10\r
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13\r
14 **/\r
15\r
16package org.tianocore.frameworkwizard.module.Identification.Externs;\r
17\r
18import java.util.Vector;\r
19\r
20public class ExternsIdentification {\r
21\r
22 //\r
23 // Define class members\r
24 //\r
25 private String name = null;\r
26\r
27 private String type = null;\r
28 \r
29 private Vector<String> supArchList = null;\r
30\r
31 private String featureFlag = null;\r
32\r
33 public ExternsIdentification(String arg0, String arg1, String arg2, Vector<String> arg3) {\r
34 this.name = (arg0 == null ? "" : arg0);\r
35 this.type = (arg1 == null ? "" : arg1);\r
36 this.featureFlag = (arg2 == null ? "" : arg2);\r
37 this.supArchList = arg3;\r
38 }\r
39\r
40 public String getFeatureFlag() {\r
41 return featureFlag;\r
42 }\r
43\r
44 public void setFeatureFlag(String featureFlag) {\r
45 this.featureFlag = featureFlag;\r
46 }\r
47\r
48 public String getName() {\r
49 return name;\r
50 }\r
51\r
52 public void setName(String name) {\r
53 this.name = name;\r
54 }\r
55\r
56 public Vector<String> getSupArchList() {\r
57 return supArchList;\r
58 }\r
59\r
60 public void setSupArchList(Vector<String> supArchList) {\r
61 this.supArchList = supArchList;\r
62 }\r
63 \r
64 public boolean equals(ExternsIdentification pi) {\r
65 if (this.name.equals(pi.name)) {\r
66 return true;\r
67 }\r
68 return false;\r
69 }\r
70\r
71 public String getType() {\r
72 return type;\r
73 }\r
74\r
75 public void setType(String type) {\r
76 this.type = type;\r
77 }\r
78}\r