]> git.proxmox.com Git - mirror_edk2.git/blame - Tools/Source/PcdTools/org/tianocore/pcd/entity/SkuInstance.java
Fixed grammar in messages.
[mirror_edk2.git] / Tools / Source / PcdTools / org / tianocore / pcd / entity / SkuInstance.java
CommitLineData
878ddf1f 1/** @file\r
2 SkuInstance class.\r
3\r
4 Sku instance contains ID and value, A pcd token maybe contains more than one Sku instance.\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
d14ebb43 16package org.tianocore.pcd.entity;\r
878ddf1f 17\r
f28c0830 18/** \r
19 Sku instance contains ID and value, A pcd token maybe contains more than one Sku instance.\r
878ddf1f 20**/\r
21public class SkuInstance {\r
22 ///\r
23 /// The id number of this SKU instance\r
24 ///\r
6ff7a41c 25 public int id;\r
bc262841 26\r
878ddf1f 27 ///\r
28 /// The value of this SKU instance\r
29 ///\r
6ff7a41c 30 public DynamicTokenValue value;\r
878ddf1f 31\r
32 /**\r
33 Constructure function\r
34\r
35 @param id sku id \r
36 @param value sku value for this id.\r
37 **/\r
6ff7a41c 38 public SkuInstance(int id, DynamicTokenValue value) {\r
878ddf1f 39 this.id = id;\r
40 this.value = value;\r
41 }\r
6ff7a41c 42\r
bc262841 43 /**\r
44 Default constructor function. \r
45 **/\r
6ff7a41c 46 public SkuInstance() {\r
47 this.id = 0;\r
48 this.value = new DynamicTokenValue();\r
49 }\r
878ddf1f 50}\r