]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/Identifications/Externs/ExternsIdentification.java
Restructuring for better separation of Tool packages.
[mirror_edk2.git] / Tools / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / module / Identifications / Externs / ExternsIdentification.java
diff --git a/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/Identifications/Externs/ExternsIdentification.java b/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/Identifications/Externs/ExternsIdentification.java
deleted file mode 100644 (file)
index 31979ce..0000000
+++ /dev/null
@@ -1,152 +0,0 @@
-/** @file\r
-\r
- The file is used to define Package Dependencies Identification\r
-\r
- Copyright (c) 2006, Intel Corporation\r
- All rights reserved. This program and the accompanying materials\r
- are licensed and made available under the terms and conditions of the BSD License\r
- which accompanies this distribution.  The full text of the license may be found at\r
- http://opensource.org/licenses/bsd-license.php\r
-\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-\r
- **/\r
-\r
-package org.tianocore.frameworkwizard.module.Identifications.Externs;\r
-\r
-import java.util.Vector;\r
-\r
-import org.tianocore.frameworkwizard.common.EnumerationData;\r
-\r
-public class ExternsIdentification {\r
-\r
-    //\r
-    // Define class members\r
-    //\r
-    private String name0 = null;\r
-\r
-    private String name1 = null;\r
-\r
-    private String name2 = null;\r
-\r
-    private String name3 = null;\r
-\r
-    private String type = null;\r
-\r
-    private Vector<String> supArchList = null;\r
-\r
-    private String featureFlag = null;\r
-\r
-    public ExternsIdentification(String arg0, String arg1) {\r
-        this.name0 = (arg0 == null ? "" : arg0);\r
-        this.type = (arg1 == null ? "" : arg1);\r
-    }\r
-\r
-    public ExternsIdentification(String arg0, String arg1, String arg2, String arg3, Vector<String> arg4) {\r
-        this.name0 = (arg0 == null ? "" : arg0);\r
-        this.name1 = (arg1 == null ? "" : arg1);\r
-        this.type = (arg2 == null ? "" : arg2);\r
-        this.featureFlag = (arg3 == null ? "" : arg3);\r
-        this.supArchList = arg4;\r
-    }\r
-\r
-    public ExternsIdentification(String arg0, String arg1, String arg2, String arg3, String arg4, String arg5,\r
-                                 Vector<String> arg6) {\r
-        this.name0 = (arg0 == null ? "" : arg0);\r
-        this.name1 = (arg1 == null ? "" : arg1);\r
-        this.name2 = (arg2 == null ? "" : arg2);\r
-        this.name3 = (arg3 == null ? "" : arg3);\r
-        this.type = (arg4 == null ? "" : arg4);\r
-        this.featureFlag = (arg5 == null ? "" : arg5);\r
-        this.supArchList = arg6;\r
-    }\r
-\r
-    public String getFeatureFlag() {\r
-        return featureFlag;\r
-    }\r
-\r
-    public void setFeatureFlag(String featureFlag) {\r
-        this.featureFlag = featureFlag;\r
-    }\r
-\r
-    public Vector<String> getSupArchList() {\r
-        return supArchList;\r
-    }\r
-\r
-    public void setSupArchList(Vector<String> supArchList) {\r
-        this.supArchList = supArchList;\r
-    }\r
-\r
-    public boolean equals(ExternsIdentification pi) {\r
-        if (this.type.equals(pi.type)) {\r
-            if (this.type.equals(EnumerationData.EXTERNS_SPECIFICATION)) {\r
-                if (this.name0.equals(pi.name0)) {\r
-                    return true;\r
-                }\r
-            }\r
-            if (this.type.equals(EnumerationData.EXTERNS_IMAGE)) {\r
-                if (this.name0.equals(pi.name0) && this.name1.equals(pi.name1)) {\r
-                    return true;\r
-                }\r
-            }\r
-            if (this.type.equals(EnumerationData.EXTERNS_LIBRARY)) {\r
-                if (this.name0.equals(pi.name0) && this.name1.equals(pi.name1)) {\r
-                    return true;\r
-                }\r
-            }\r
-            if (this.type.equals(EnumerationData.EXTERNS_CALL_BACK)) {\r
-                if (this.name0.equals(pi.name0) && this.name1.equals(pi.name1)) {\r
-                    return true;\r
-                }\r
-            }\r
-            if (this.type.equals(EnumerationData.EXTERNS_DRIVER)) {\r
-                if (this.name0.equals(pi.name0) && this.name1.equals(pi.name1) && this.name2.equals(pi.name2) && this.name3.equals(pi.name3)) {\r
-                    return true;\r
-                }\r
-            }\r
-        }\r
-\r
-        return false;\r
-    }\r
-\r
-    public String getType() {\r
-        return type;\r
-    }\r
-\r
-    public void setType(String type) {\r
-        this.type = type;\r
-    }\r
-\r
-    public String getName0() {\r
-        return name0;\r
-    }\r
-\r
-    public void setName0(String name0) {\r
-        this.name0 = name0;\r
-    }\r
-\r
-    public String getName1() {\r
-        return name1;\r
-    }\r
-\r
-    public void setName1(String name1) {\r
-        this.name1 = name1;\r
-    }\r
-\r
-    public String getName2() {\r
-        return name2;\r
-    }\r
-\r
-    public void setName2(String name2) {\r
-        this.name2 = name2;\r
-    }\r
-\r
-    public String getName3() {\r
-        return name3;\r
-    }\r
-\r
-    public void setName3(String name3) {\r
-        this.name3 = name3;\r
-    }\r
-}\r