1 /*
2 Licensed to the Apache Software Foundation (ASF) under one
3 or more contributor license agreements. See the NOTICE file
4 distributed with this work for additional information
5 regarding copyright ownership. The ASF licenses this file
6 to you under the Apache License, Version 2.0 (the
7 "License"); you may not use this file except in compliance
8 with the License. You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing,
13 software distributed under the License is distributed on an
14 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 KIND, either express or implied. See the License for the
16 specific language governing permissions and limitations
17 under the License.
18 =================== DO NOT EDIT THIS FILE ====================
19 Generated by Modello 2.5.1,
20 any modifications will be overwritten.
21 ==============================================================
22 */
23
24 package org.apache.maven.buildcache.xml.build;
25
26 /**
27 * Class Artifact.
28 *
29 * @version $Revision$ $Date$
30 */
31 @SuppressWarnings( "all" )
32 public class Artifact
33 implements java.io.Serializable
34 {
35
36 //--------------------------/
37 //- Class/Member Variables -/
38 //--------------------------/
39
40 /**
41 * Field groupId.
42 */
43 private String groupId;
44
45 /**
46 * Field artifactId.
47 */
48 private String artifactId;
49
50 /**
51 * Field version.
52 */
53 private String version;
54
55 /**
56 * Field classifier.
57 */
58 private String classifier;
59
60 /**
61 * Field type.
62 */
63 private String type;
64
65 /**
66 * Field scope.
67 */
68 private String scope;
69
70 /**
71 * Field fileName.
72 */
73 private String fileName;
74
75 /**
76 * Field fileHash.
77 */
78 private String fileHash;
79
80 /**
81 * Field fileSize.
82 */
83 private long fileSize = 0L;
84
85 /**
86 * Field filePath.
87 */
88 private String filePath;
89
90
91 //-----------/
92 //- Methods -/
93 //-----------/
94
95 /**
96 * Get the artifactId field.
97 *
98 * @return String
99 */
100 public String getArtifactId()
101 {
102 return this.artifactId;
103 } //-- String getArtifactId()
104
105 /**
106 * Get the classifier field.
107 *
108 * @return String
109 */
110 public String getClassifier()
111 {
112 return this.classifier;
113 } //-- String getClassifier()
114
115 /**
116 * Get the fileHash field.
117 *
118 * @return String
119 */
120 public String getFileHash()
121 {
122 return this.fileHash;
123 } //-- String getFileHash()
124
125 /**
126 * Get the fileName field.
127 *
128 * @return String
129 */
130 public String getFileName()
131 {
132 return this.fileName;
133 } //-- String getFileName()
134
135 /**
136 * Get the filePath field.
137 *
138 * @return String
139 */
140 public String getFilePath()
141 {
142 return this.filePath;
143 } //-- String getFilePath()
144
145 /**
146 * Get the fileSize field.
147 *
148 * @return long
149 */
150 public long getFileSize()
151 {
152 return this.fileSize;
153 } //-- long getFileSize()
154
155 /**
156 * Get the groupId field.
157 *
158 * @return String
159 */
160 public String getGroupId()
161 {
162 return this.groupId;
163 } //-- String getGroupId()
164
165 /**
166 * Get the scope field.
167 *
168 * @return String
169 */
170 public String getScope()
171 {
172 return this.scope;
173 } //-- String getScope()
174
175 /**
176 * Get the type field.
177 *
178 * @return String
179 */
180 public String getType()
181 {
182 return this.type;
183 } //-- String getType()
184
185 /**
186 * Get the version field.
187 *
188 * @return String
189 */
190 public String getVersion()
191 {
192 return this.version;
193 } //-- String getVersion()
194
195 /**
196 * Set the artifactId field.
197 *
198 * @param artifactId a artifactId object.
199 */
200 public void setArtifactId( String artifactId )
201 {
202 this.artifactId = artifactId;
203 } //-- void setArtifactId( String )
204
205 /**
206 * Set the classifier field.
207 *
208 * @param classifier a classifier object.
209 */
210 public void setClassifier( String classifier )
211 {
212 this.classifier = classifier;
213 } //-- void setClassifier( String )
214
215 /**
216 * Set the fileHash field.
217 *
218 * @param fileHash a fileHash object.
219 */
220 public void setFileHash( String fileHash )
221 {
222 this.fileHash = fileHash;
223 } //-- void setFileHash( String )
224
225 /**
226 * Set the fileName field.
227 *
228 * @param fileName a fileName object.
229 */
230 public void setFileName( String fileName )
231 {
232 this.fileName = fileName;
233 } //-- void setFileName( String )
234
235 /**
236 * Set the filePath field.
237 *
238 * @param filePath a filePath object.
239 */
240 public void setFilePath( String filePath )
241 {
242 this.filePath = filePath;
243 } //-- void setFilePath( String )
244
245 /**
246 * Set the fileSize field.
247 *
248 * @param fileSize a fileSize object.
249 */
250 public void setFileSize( long fileSize )
251 {
252 this.fileSize = fileSize;
253 } //-- void setFileSize( long )
254
255 /**
256 * Set the groupId field.
257 *
258 * @param groupId a groupId object.
259 */
260 public void setGroupId( String groupId )
261 {
262 this.groupId = groupId;
263 } //-- void setGroupId( String )
264
265 /**
266 * Set the scope field.
267 *
268 * @param scope a scope object.
269 */
270 public void setScope( String scope )
271 {
272 this.scope = scope;
273 } //-- void setScope( String )
274
275 /**
276 * Set the type field.
277 *
278 * @param type a type object.
279 */
280 public void setType( String type )
281 {
282 this.type = type;
283 } //-- void setType( String )
284
285 /**
286 * Set the version field.
287 *
288 * @param version a version object.
289 */
290 public void setVersion( String version )
291 {
292 this.version = version;
293 } //-- void setVersion( String )
294
295 }