In preprocess for getting platform PCD information, if meet error, put error into...
[mirror_edk2.git] / Tools / Source / PcdTools / org / tianocore / pcd / entity / ModulePcdInfoFromFpd.java
CommitLineData
a513c5a8 1/** @file\r
2 ModulePcdInfoFromFpd class.\r
3\r
4 The interface parameter from <ModuleSA>'s Pcd information got from global data.\r
5\r
6Copyright (c) 2006, Intel Corporation\r
7All rights reserved. This program and the accompanying materials\r
8are licensed and made available under the terms and conditions of the BSD License\r
9which accompanies this distribution. The full text of the license may be found at\r
10http://opensource.org/licenses/bsd-license.php\r
11\r
12THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
13WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
14\r
15**/\r
16package org.tianocore.pcd.entity;\r
17\r
18import org.tianocore.PcdBuildDefinitionDocument;\r
19import org.tianocore.PcdBuildDefinitionDocument.PcdBuildDefinition;\r
20import org.apache.xmlbeans.XmlObject;\r
21\r
22/**\r
23 PCD build information in <ModuleSA> in FPD file. \r
24**/\r
25public class ModulePcdInfoFromFpd {\r
26 ///\r
27 /// Usage identification for a module\r
28 /// \r
29 public UsageIdentification usageId;\r
30\r
31 ///\r
32 /// <ModuleSA>'s <PcdBuildDefinition> information.\r
33 /// \r
34 public PcdBuildDefinition pcdBuildDefinition;\r
35\r
36 /**\r
37 Construct function.\r
38\r
39 @param usageId The usage instance's identification\r
40 @param pcdBuildDefinition The <PcdBuildDefinition> information in <ModuleSA> in FPD file.\r
41\r
42 **/\r
43 public ModulePcdInfoFromFpd(UsageIdentification usageId,\r
e55d8a3c 44 PcdBuildDefinition pcdBuildDefinition) {\r
a513c5a8 45 this.usageId = usageId;\r
e55d8a3c 46 this.pcdBuildDefinition = pcdBuildDefinition;\r
a513c5a8 47 }\r
48}\r