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