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