]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Java/Source/PcdTools/org/tianocore/pcd/entity/ModulePcdInfoFromFpd.java
Restructuring for better separation of Tool packages.
[mirror_edk2.git] / Tools / Java / Source / PcdTools / org / tianocore / pcd / entity / ModulePcdInfoFromFpd.java
diff --git a/Tools/Java/Source/PcdTools/org/tianocore/pcd/entity/ModulePcdInfoFromFpd.java b/Tools/Java/Source/PcdTools/org/tianocore/pcd/entity/ModulePcdInfoFromFpd.java
new file mode 100644 (file)
index 0000000..fe9f7ec
--- /dev/null
@@ -0,0 +1,48 @@
+/** @file\r
+  ModulePcdInfoFromFpd class.\r
+\r
+  The interface parameter from <ModuleSA>'s Pcd information got from global data.\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.pcd.entity;\r
+\r
+import org.tianocore.PcdBuildDefinitionDocument;\r
+import org.tianocore.PcdBuildDefinitionDocument.PcdBuildDefinition;\r
+import org.apache.xmlbeans.XmlObject;\r
+\r
+/**\r
+   PCD build information in <ModuleSA> in FPD file.  \r
+**/\r
+public class ModulePcdInfoFromFpd {\r
+    ///\r
+    /// Usage identification for a module\r
+    /// \r
+    public UsageIdentification   usageId;\r
+\r
+    ///\r
+    /// <ModuleSA>'s <PcdBuildDefinition> information.\r
+    /// \r
+    public PcdBuildDefinition    pcdBuildDefinition;\r
+\r
+    /**\r
+       Construct function.\r
+\r
+       @param usageId               The usage instance's identification\r
+       @param pcdBuildDefinition    The <PcdBuildDefinition> information in <ModuleSA> in FPD file.\r
+\r
+    **/\r
+    public ModulePcdInfoFromFpd(UsageIdentification usageId,\r
+                                PcdBuildDefinition  pcdBuildDefinition) {\r
+        this.usageId            = usageId;\r
+        this.pcdBuildDefinition = pcdBuildDefinition;\r
+    }\r
+}\r