--- /dev/null
+/** @file\r
+ToolChainElement class\r
+\r
+ToolChainElement class is defining enumeration value of key part names.\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.build.toolchain;\r
+\r
+/**\r
+\r
+ This class is an enumeration definition for key elements in tool chain definition\r
+ file.\r
+ \r
+ **/\r
+public class ToolChainElement {\r
+ private static int nextValue = 0;\r
+\r
+ //\r
+ // "TARGET", "TOOLCHAIN", "ARCH", "TOOLCODE", "ATTRIBUTE"\r
+ // \r
+ public final static ToolChainElement TARGET = new ToolChainElement("TARGET");\r
+ public final static ToolChainElement TOOLCHAIN = new ToolChainElement("TOOLCHAIN");\r
+ public final static ToolChainElement ARCH = new ToolChainElement("ARCH");\r
+ public final static ToolChainElement TOOLCODE = new ToolChainElement("TOOLCODE");\r
+ public final static ToolChainElement ATTRIBUTE = new ToolChainElement("ATTRIBUTE");\r
+\r
+ private final String name;\r
+ public final int value = nextValue++;\r
+\r
+ /**\r
+ * Default constructor\r
+ */\r
+ private ToolChainElement(String name) {\r
+ this.name = name;\r
+ }\r
+\r
+ public String toString() {\r
+ return name;\r
+ }\r
+}\r
+\r
+\r
+\r
+\r
+\r