This project has retired. For details please refer to its Attic page.
SnapshotVersion xref
View Javadoc
1   // =================== DO NOT EDIT THIS FILE ====================
2   // Generated by Modello 1.7,
3   // any modifications will be overwritten.
4   // ==============================================================
5   
6   package org.apache.archiva.model;
7   
8   /**
9    * The Snapshot Version.
10   * 
11   * @version $Revision$ $Date$
12   */
13  @SuppressWarnings( "all" )
14  public class SnapshotVersion
15      implements java.io.Serializable
16  {
17  
18        //--------------------------/
19       //- Class/Member Variables -/
20      //--------------------------/
21  
22      /**
23       * 
24       *             The unique timestamp for the snapshot version.
25       *           
26       */
27      private String timestamp;
28  
29      /**
30       * The incremental build number of the snapshot.
31       */
32      private int buildNumber = 0;
33  
34  
35        //-----------/
36       //- Methods -/
37      //-----------/
38  
39      /**
40       * Get the incremental build number of the snapshot.
41       * 
42       * @return int
43       */
44      public int getBuildNumber()
45      {
46          return this.buildNumber;
47      } //-- int getBuildNumber()
48  
49      /**
50       * Get the unique timestamp for the snapshot version.
51       * 
52       * @return String
53       */
54      public String getTimestamp()
55      {
56          return this.timestamp;
57      } //-- String getTimestamp()
58  
59      /**
60       * Set the incremental build number of the snapshot.
61       * 
62       * @param buildNumber
63       */
64      public void setBuildNumber( int buildNumber )
65      {
66          this.buildNumber = buildNumber;
67      } //-- void setBuildNumber( int )
68  
69      /**
70       * Set the unique timestamp for the snapshot version.
71       * 
72       * @param timestamp
73       */
74      public void setTimestamp( String timestamp )
75      {
76          this.timestamp = timestamp;
77      } //-- void setTimestamp( String )
78  
79      
80      private static final long serialVersionUID = -1251466956496493405L;
81            
82  }