View Javadoc
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       * Indicates if this artifact represents a directory (e.g.,
92       * target/classes) that was zipped for caching.
93       */
94      private boolean isDirectory = false;
95  
96  
97        //-----------/
98       //- Methods -/
99      //-----------/
100 
101     /**
102      * Get the artifactId field.
103      * 
104      * @return String
105      */
106     public String getArtifactId()
107     {
108         return this.artifactId;
109     } //-- String getArtifactId()
110 
111     /**
112      * Get the classifier field.
113      * 
114      * @return String
115      */
116     public String getClassifier()
117     {
118         return this.classifier;
119     } //-- String getClassifier()
120 
121     /**
122      * Get the fileHash field.
123      * 
124      * @return String
125      */
126     public String getFileHash()
127     {
128         return this.fileHash;
129     } //-- String getFileHash()
130 
131     /**
132      * Get the fileName field.
133      * 
134      * @return String
135      */
136     public String getFileName()
137     {
138         return this.fileName;
139     } //-- String getFileName()
140 
141     /**
142      * Get the filePath field.
143      * 
144      * @return String
145      */
146     public String getFilePath()
147     {
148         return this.filePath;
149     } //-- String getFilePath()
150 
151     /**
152      * Get the fileSize field.
153      * 
154      * @return long
155      */
156     public long getFileSize()
157     {
158         return this.fileSize;
159     } //-- long getFileSize()
160 
161     /**
162      * Get the groupId field.
163      * 
164      * @return String
165      */
166     public String getGroupId()
167     {
168         return this.groupId;
169     } //-- String getGroupId()
170 
171     /**
172      * Get the scope field.
173      * 
174      * @return String
175      */
176     public String getScope()
177     {
178         return this.scope;
179     } //-- String getScope()
180 
181     /**
182      * Get the type field.
183      * 
184      * @return String
185      */
186     public String getType()
187     {
188         return this.type;
189     } //-- String getType()
190 
191     /**
192      * Get the version field.
193      * 
194      * @return String
195      */
196     public String getVersion()
197     {
198         return this.version;
199     } //-- String getVersion()
200 
201     /**
202      * Get indicates if this artifact represents a directory (e.g.,
203      * target/classes) that was zipped for caching.
204      * 
205      * @return boolean
206      */
207     public boolean isIsDirectory()
208     {
209         return this.isDirectory;
210     } //-- boolean isIsDirectory()
211 
212     /**
213      * Set the artifactId field.
214      * 
215      * @param artifactId a artifactId object.
216      */
217     public void setArtifactId( String artifactId )
218     {
219         this.artifactId = artifactId;
220     } //-- void setArtifactId( String )
221 
222     /**
223      * Set the classifier field.
224      * 
225      * @param classifier a classifier object.
226      */
227     public void setClassifier( String classifier )
228     {
229         this.classifier = classifier;
230     } //-- void setClassifier( String )
231 
232     /**
233      * Set the fileHash field.
234      * 
235      * @param fileHash a fileHash object.
236      */
237     public void setFileHash( String fileHash )
238     {
239         this.fileHash = fileHash;
240     } //-- void setFileHash( String )
241 
242     /**
243      * Set the fileName field.
244      * 
245      * @param fileName a fileName object.
246      */
247     public void setFileName( String fileName )
248     {
249         this.fileName = fileName;
250     } //-- void setFileName( String )
251 
252     /**
253      * Set the filePath field.
254      * 
255      * @param filePath a filePath object.
256      */
257     public void setFilePath( String filePath )
258     {
259         this.filePath = filePath;
260     } //-- void setFilePath( String )
261 
262     /**
263      * Set the fileSize field.
264      * 
265      * @param fileSize a fileSize object.
266      */
267     public void setFileSize( long fileSize )
268     {
269         this.fileSize = fileSize;
270     } //-- void setFileSize( long )
271 
272     /**
273      * Set the groupId field.
274      * 
275      * @param groupId a groupId object.
276      */
277     public void setGroupId( String groupId )
278     {
279         this.groupId = groupId;
280     } //-- void setGroupId( String )
281 
282     /**
283      * Set indicates if this artifact represents a directory (e.g.,
284      * target/classes) that was zipped for caching.
285      * 
286      * @param isDirectory a isDirectory object.
287      */
288     public void setIsDirectory( boolean isDirectory )
289     {
290         this.isDirectory = isDirectory;
291     } //-- void setIsDirectory( boolean )
292 
293     /**
294      * Set the scope field.
295      * 
296      * @param scope a scope object.
297      */
298     public void setScope( String scope )
299     {
300         this.scope = scope;
301     } //-- void setScope( String )
302 
303     /**
304      * Set the type field.
305      * 
306      * @param type a type object.
307      */
308     public void setType( String type )
309     {
310         this.type = type;
311     } //-- void setType( String )
312 
313     /**
314      * Set the version field.
315      * 
316      * @param version a version object.
317      */
318     public void setVersion( String version )
319     {
320         this.version = version;
321     } //-- void setVersion( String )
322 
323 }