]> git.proxmox.com Git - mirror_edk2.git/blob - Tools/Source/GenBuild/org/tianocore/build/pcd/entity/SkuInstance.java
Add folder for common PcdTools classes.
[mirror_edk2.git] / Tools / Source / GenBuild / org / tianocore / build / pcd / entity / SkuInstance.java
1 /** @file
2 SkuInstance class.
3
4 Sku instance contains ID and value, A pcd token maybe contains more than one Sku instance.
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.build.pcd.entity;
17
18 /** Sku instance contains ID and value, A pcd token maybe contains more than one Sku instance.
19 **/
20 public class SkuInstance {
21 ///
22 /// The id number of this SKU instance
23 ///
24 public int id;
25 ///
26 /// The value of this SKU instance
27 ///
28 public DynamicTokenValue value;
29
30 /**
31 Constructure function
32
33 @param id sku id
34 @param value sku value for this id.
35 **/
36 public SkuInstance(int id, DynamicTokenValue value) {
37 this.id = id;
38 this.value = value;
39 }
40
41 public SkuInstance() {
42 this.id = 0;
43 this.value = new DynamicTokenValue();
44 }
45 }