1. Update to just keep several line JAVA related msg; 2. Remove file PropertyManager...
[mirror_edk2.git] / Tools / Java / Source / GenBuild / org / tianocore / build / tools / PackageItem.java
1 /** @file
2
3 Copyright (c) 2006, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
8
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11
12 **/
13 package org.tianocore.build.tools;
14
15 import org.apache.tools.ant.BuildException;
16
17 /**
18 Ant element for Package.
19
20 @since GenBuild 1.0
21 **/
22 public class PackageItem {
23
24 private String packageName = null;
25
26 private String packageGuid = null;
27
28 private String packageVersion = null;
29
30 public PackageItem(){
31
32 }
33
34 public void execute() throws BuildException {
35
36 }
37
38 public String toString(){
39 return "[" + packageName + packageGuid + "]";
40 }
41 /**
42 Get Package Guid.
43 @return Package Guid
44 **/
45 public String getPackageGuid() {
46 return packageGuid;
47 }
48
49 /**
50 Set Package Guid.
51 @param packageGuid Package Guid
52 **/
53 public void setPackageGuid(String packageGuid) {
54 this.packageGuid = packageGuid;
55 }
56
57 /**
58 Get Package Name.
59 @return Package Name
60 **/
61 public String getPackageName() {
62 return packageName;
63 }
64
65 /**
66 Set Package Name.
67 @param packageName Package Name
68 **/
69 public void setPackageName(String packageName) {
70 this.packageName = packageName;
71 }
72
73 /**
74 Get Package Version.
75 @return Package Version
76 **/
77 public String getPackageVersion() {
78 return packageVersion;
79 }
80
81 /**
82 Set Package Version.
83 @param packageVersion Package Version
84 **/
85 public void setPackageVersion(String packageVersion) {
86 this.packageVersion = packageVersion;
87 }
88 }