]>
Commit | Line | Data |
---|---|---|
79cb6fdb | 1 | /** @file\r |
2 | \r | |
3 | The file is used to define Tool Chain Configuration 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 | package org.tianocore.frameworkwizard.common.Identifications;\r | |
16 | \r | |
17 | public class ToolChainConfigId {\r | |
18 | \r | |
19 | public static final String COMMENTS = "#";\r | |
20 | \r | |
21 | public static final String EQUALS = "=";\r | |
22 | \r | |
23 | private String name = "";\r | |
24 | \r | |
25 | private String value = "";\r | |
26 | \r | |
27 | public ToolChainConfigId(String strName, String strValue) {\r | |
28 | this.name = strName;\r | |
29 | this.value = strValue;\r | |
30 | }\r | |
31 | \r | |
32 | public String getName() {\r | |
33 | return name;\r | |
34 | }\r | |
35 | \r | |
36 | public void setName(String name) {\r | |
37 | this.name = name;\r | |
38 | }\r | |
39 | \r | |
40 | public String getValue() {\r | |
41 | return value;\r | |
42 | }\r | |
43 | \r | |
44 | public void setValue(String value) {\r | |
45 | this.value = value;\r | |
46 | }\r | |
47 | \r | |
48 | public boolean equals(ToolChainConfigId id) {\r | |
49 | if (this.name.equals(id.name)) {\r | |
50 | return true;\r | |
51 | } else {\r | |
52 | return false;\r | |
53 | }\r | |
54 | }\r | |
55 | }\r |