+++ /dev/null
-/** @file\r
-\r
- The file is used to define Source Files 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.module.Identification.SourceFiles;\r
-\r
-import java.util.Vector;\r
-\r
-public class SourceFilesIdentification {\r
-\r
- private String filename = null;\r
-\r
- private String tagName = null;\r
- \r
- private String toolCode = null;\r
- \r
- private String toolChainFamily = null;\r
- \r
- private Vector<String> supArchList = null;\r
-\r
- private String featureFlag = null;\r
-\r
- public SourceFilesIdentification(String strFilename, String strTagName, String strToolCode, String strToolChainFamily,\r
- String strFeatureFlag, Vector<String> arch) {\r
- this.filename = (strFilename == null ? "" : strFilename);\r
- this.tagName = (strTagName == null ? "" : strTagName);\r
- this.toolCode = (strToolCode == null ? "" : strToolCode);\r
- this.toolChainFamily = (strToolChainFamily == null ? "" : strToolChainFamily);\r
- this.featureFlag = (strFeatureFlag == null ? "" : strFeatureFlag);\r
- this.supArchList = arch;\r
- }\r
-\r
- public String getFeatureFlag() {\r
- return featureFlag;\r
- }\r
-\r
- public void setFeatureFlag(String featureFlag) {\r
- this.featureFlag = featureFlag;\r
- }\r
-\r
- public String getFilename() {\r
- return filename;\r
- }\r
-\r
- public void setFilename(String filename) {\r
- this.filename = filename;\r
- }\r
-\r
- public Vector<String> getSupArchList() {\r
- return supArchList;\r
- }\r
-\r
- public void setSupArchList(Vector<String> supArchList) {\r
- this.supArchList = supArchList;\r
- }\r
-\r
- public String getTagName() {\r
- return tagName;\r
- }\r
-\r
- public void setTagName(String tagName) {\r
- this.tagName = tagName;\r
- }\r
-\r
- public String getToolChainFamily() {\r
- return toolChainFamily;\r
- }\r
-\r
- public void setToolChainFamily(String toolChainFamily) {\r
- this.toolChainFamily = toolChainFamily;\r
- }\r
-\r
- public String getToolCode() {\r
- return toolCode;\r
- }\r
-\r
- public void setToolCode(String toolCode) {\r
- this.toolCode = toolCode;\r
- }\r
- \r
- public boolean equals(SourceFilesIdentification sfid) {\r
- if (this.filename.equals(sfid.filename)) {\r
- return true;\r
- }\r
- return false;\r
- }\r
-}\r