]> git.proxmox.com Git - mirror_edk2.git/blob - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/Identifications/SourceFiles/SourceFilesIdentification.java
Changed spelling to manifest
[mirror_edk2.git] / Tools / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / module / Identifications / SourceFiles / SourceFilesIdentification.java
1 /** @file
2
3 The file is used to define Source Files 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.module.Identifications.SourceFiles;
16
17 import java.util.Vector;
18
19 public class SourceFilesIdentification {
20
21 private String filename = null;
22
23 private String tagName = null;
24
25 private String toolCode = null;
26
27 private String toolChainFamily = null;
28
29 private Vector<String> supArchList = null;
30
31 private String featureFlag = null;
32
33 public SourceFilesIdentification(String strFilename, String strTagName, String strToolCode,
34 String strToolChainFamily, String strFeatureFlag, Vector<String> arch) {
35 this.filename = (strFilename == null ? "" : strFilename);
36 this.tagName = (strTagName == null ? "" : strTagName);
37 this.toolCode = (strToolCode == null ? "" : strToolCode);
38 this.toolChainFamily = (strToolChainFamily == null ? "" : strToolChainFamily);
39 this.featureFlag = (strFeatureFlag == null ? "" : strFeatureFlag);
40 this.supArchList = arch;
41 }
42
43 public String getFeatureFlag() {
44 return featureFlag;
45 }
46
47 public void setFeatureFlag(String featureFlag) {
48 this.featureFlag = featureFlag;
49 }
50
51 public String getFilename() {
52 return filename;
53 }
54
55 public void setFilename(String filename) {
56 this.filename = filename;
57 }
58
59 public Vector<String> getSupArchList() {
60 return supArchList;
61 }
62
63 public void setSupArchList(Vector<String> supArchList) {
64 this.supArchList = supArchList;
65 }
66
67 public String getTagName() {
68 return tagName;
69 }
70
71 public void setTagName(String tagName) {
72 this.tagName = tagName;
73 }
74
75 public String getToolChainFamily() {
76 return toolChainFamily;
77 }
78
79 public void setToolChainFamily(String toolChainFamily) {
80 this.toolChainFamily = toolChainFamily;
81 }
82
83 public String getToolCode() {
84 return toolCode;
85 }
86
87 public void setToolCode(String toolCode) {
88 this.toolCode = toolCode;
89 }
90
91 public boolean equals(SourceFilesIdentification sfid) {
92 if (this.filename.equals(sfid.filename) && this.tagName.equals(sfid.tagName)
93 && this.toolCode.equals(sfid.toolCode) && this.toolChainFamily.equals(sfid.toolChainFamily)
94 && this.featureFlag.equals(sfid.featureFlag)
95 && this.supArchList.toString().equals(sfid.supArchList.toString())) {
96 return true;
97 }
98 return false;
99 }
100 }