]>
git.proxmox.com Git - mirror_edk2.git/blob - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/Identifications/Externs/ExternsIdentification.java
3 The file is used to define Package Dependencies Identification
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
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.
16 package org
.tianocore
.frameworkwizard
.module
.Identifications
.Externs
;
18 import java
.util
.Vector
;
20 import org
.tianocore
.frameworkwizard
.common
.EnumerationData
;
22 public class ExternsIdentification
{
25 // Define class members
27 private String name0
= null;
29 private String name1
= null;
31 private String name2
= null;
33 private String name3
= null;
35 private String type
= null;
37 private Vector
<String
> supArchList
= null;
39 private String featureFlag
= null;
41 public ExternsIdentification(String arg0
, String arg1
) {
42 this.name0
= (arg0
== null ?
"" : arg0
);
43 this.type
= (arg1
== null ?
"" : arg1
);
46 public ExternsIdentification(String arg0
, String arg1
, String arg2
, String arg3
, Vector
<String
> arg4
) {
47 this.name0
= (arg0
== null ?
"" : arg0
);
48 this.name1
= (arg1
== null ?
"" : arg1
);
49 this.type
= (arg2
== null ?
"" : arg2
);
50 this.featureFlag
= (arg3
== null ?
"" : arg3
);
51 this.supArchList
= arg4
;
54 public ExternsIdentification(String arg0
, String arg1
, String arg2
, String arg3
, String arg4
, String arg5
,
55 Vector
<String
> arg6
) {
56 this.name0
= (arg0
== null ?
"" : arg0
);
57 this.name1
= (arg1
== null ?
"" : arg1
);
58 this.name2
= (arg2
== null ?
"" : arg2
);
59 this.name3
= (arg3
== null ?
"" : arg3
);
60 this.type
= (arg4
== null ?
"" : arg4
);
61 this.featureFlag
= (arg5
== null ?
"" : arg5
);
62 this.supArchList
= arg6
;
65 public String
getFeatureFlag() {
69 public void setFeatureFlag(String featureFlag
) {
70 this.featureFlag
= featureFlag
;
73 public Vector
<String
> getSupArchList() {
77 public void setSupArchList(Vector
<String
> supArchList
) {
78 this.supArchList
= supArchList
;
81 public boolean equals(ExternsIdentification pi
) {
82 if (this.type
.equals(pi
.type
)) {
83 if (this.type
.equals(EnumerationData
.EXTERNS_SPECIFICATION
)) {
84 if (this.name0
.equals(pi
.name0
)) {
88 if (this.type
.equals(EnumerationData
.EXTERNS_IMAGE
)) {
89 if (this.name0
.equals(pi
.name0
) && this.name1
.equals(pi
.name1
)) {
93 if (this.type
.equals(EnumerationData
.EXTERNS_LIBRARY
)) {
94 if (this.name0
.equals(pi
.name0
) && this.name1
.equals(pi
.name1
)) {
98 if (this.type
.equals(EnumerationData
.EXTERNS_CALL_BACK
)) {
99 if (this.name0
.equals(pi
.name0
) && this.name1
.equals(pi
.name1
)) {
103 if (this.type
.equals(EnumerationData
.EXTERNS_DRIVER
)) {
104 if (this.name0
.equals(pi
.name0
) && this.name1
.equals(pi
.name1
) && this.name2
.equals(pi
.name2
) && this.name3
.equals(pi
.name3
)) {
113 public String
getType() {
117 public void setType(String type
) {
121 public String
getName0() {
125 public void setName0(String name0
) {
129 public String
getName1() {
133 public void setName1(String name1
) {
137 public String
getName2() {
141 public void setName2(String name2
) {
145 public String
getName3() {
149 public void setName3(String name3
) {