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