]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/common/Identifications/ToolChainConfigId.java
1. Restructure some folders and files
[mirror_edk2.git] / Tools / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / common / Identifications / ToolChainConfigId.java
diff --git a/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/common/Identifications/ToolChainConfigId.java b/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/common/Identifications/ToolChainConfigId.java
new file mode 100644 (file)
index 0000000..f446693
--- /dev/null
@@ -0,0 +1,55 @@
+/** @file\r
+\r
+ The file is used to define Tool Chain Configuration 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
+package org.tianocore.frameworkwizard.common.Identifications;\r
+\r
+public class ToolChainConfigId {\r
+\r
+    public static final String COMMENTS = "#";\r
+    \r
+    public static final String EQUALS = "=";\r
+    \r
+    private String name = "";\r
+    \r
+    private String value = "";\r
+    \r
+    public ToolChainConfigId(String strName, String strValue) {\r
+        this.name = strName;\r
+        this.value = strValue;\r
+    }\r
+\r
+    public String getName() {\r
+        return name;\r
+    }\r
+\r
+    public void setName(String name) {\r
+        this.name = name;\r
+    }\r
+\r
+    public String getValue() {\r
+        return value;\r
+    }\r
+\r
+    public void setValue(String value) {\r
+        this.value = value;\r
+    }\r
+    \r
+    public boolean equals(ToolChainConfigId id) {\r
+        if (this.name.equals(id.name)) {\r
+            return true;\r
+        } else {\r
+            return false;\r
+        }\r
+    }\r
+}\r