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 / ModuleItem.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
01413f0c 16/**\r
17 Ant element for module. \r
18 \r
19 @since GenBuild 1.0\r
20**/\r
6ec40aef 21public class ModuleItem {\r
22\r
01413f0c 23 private String moduleName = null;\r
6ec40aef 24 \r
01413f0c 25 private String moduleGuid = null;\r
6ec40aef 26 \r
01413f0c 27 private String moduleVersion = null;\r
6ec40aef 28 \r
01413f0c 29 private String packageName = null;\r
6ec40aef 30 \r
01413f0c 31 private String packageGuid = null;\r
6ec40aef 32 \r
01413f0c 33 private String packageVersion = null;\r
6ec40aef 34\r
35 public ModuleItem(){\r
36 \r
37 }\r
38 \r
39 public void execute() throws BuildException {\r
40 \r
41 }\r
42 \r
01413f0c 43 /**\r
44 Get module Guid. \r
45 @return Module Guid\r
46 **/\r
6ec40aef 47 public String getModuleGuid() {\r
48 return moduleGuid;\r
49 }\r
50\r
01413f0c 51 /**\r
52 Set module Guid\r
53 @param moduleGuid Module Guid\r
54 **/\r
6ec40aef 55 public void setModuleGuid(String moduleGuid) {\r
56 this.moduleGuid = moduleGuid;\r
57 }\r
58\r
01413f0c 59 /**\r
60 Get Module Name. \r
61 @return Module Name\r
62 **/\r
6ec40aef 63 public String getModuleName() {\r
64 return moduleName;\r
65 }\r
66\r
01413f0c 67 /**\r
68 Set Module Name.\r
69 @param moduleName Module Name\r
70 **/\r
6ec40aef 71 public void setModuleName(String moduleName) {\r
72 this.moduleName = moduleName;\r
73 }\r
74\r
01413f0c 75 /**\r
76 Get Module Version. \r
77 @return Module Version\r
78 **/\r
6ec40aef 79 public String getModuleVersion() {\r
80 return moduleVersion;\r
81 }\r
82\r
01413f0c 83 /**\r
84 Set Module Version. \r
85 @param moduleVersion Module version\r
86 **/\r
6ec40aef 87 public void setModuleVersion(String moduleVersion) {\r
88 this.moduleVersion = moduleVersion;\r
89 }\r
90\r
01413f0c 91 /**\r
92 Get Package Guid. \r
93 @return Package Guid\r
94 **/\r
6ec40aef 95 public String getPackageGuid() {\r
96 return packageGuid;\r
97 }\r
98\r
01413f0c 99 /**\r
100 Set Package Guid. \r
101 @param packageGuid Package Guid\r
102 **/\r
6ec40aef 103 public void setPackageGuid(String packageGuid) {\r
104 this.packageGuid = packageGuid;\r
105 }\r
106\r
01413f0c 107 /**\r
108 Get Package Name. \r
109 @return Package Name\r
110 **/\r
6ec40aef 111 public String getPackageName() {\r
112 return packageName;\r
113 }\r
114\r
01413f0c 115 /**\r
116 Set Package Name. \r
117 @param packageName Package Name\r
118 **/\r
6ec40aef 119 public void setPackageName(String packageName) {\r
120 this.packageName = packageName;\r
121 }\r
122\r
01413f0c 123 /**\r
124 Get Package Version. \r
125 @return Package Version\r
126 **/\r
6ec40aef 127 public String getPackageVersion() {\r
128 return packageVersion;\r
129 }\r
130\r
01413f0c 131 /**\r
132 Set Package Version. \r
133 @param packageVersion Package Version\r
134 **/\r
6ec40aef 135 public void setPackageVersion(String packageVersion) {\r
136 this.packageVersion = packageVersion;\r
137 }\r
138 \r
139 \r
140}\r