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