This project has retired. For details please refer to its Attic page.
Source code
001// =================== DO NOT EDIT THIS FILE ====================
002// Generated by Modello 1.7,
003// any modifications will be overwritten.
004// ==============================================================
005
006package org.apache.archiva.model;
007
008/**
009 * The Snapshot Version.
010 * 
011 * @version $Revision$ $Date$
012 */
013@SuppressWarnings( "all" )
014public class SnapshotVersion
015    implements java.io.Serializable
016{
017
018      //--------------------------/
019     //- Class/Member Variables -/
020    //--------------------------/
021
022    /**
023     * 
024     *             The unique timestamp for the snapshot version.
025     *           
026     */
027    private String timestamp;
028
029    /**
030     * The incremental build number of the snapshot.
031     */
032    private int buildNumber = 0;
033
034
035      //-----------/
036     //- Methods -/
037    //-----------/
038
039    /**
040     * Get the incremental build number of the snapshot.
041     * 
042     * @return int
043     */
044    public int getBuildNumber()
045    {
046        return this.buildNumber;
047    } //-- int getBuildNumber()
048
049    /**
050     * Get the unique timestamp for the snapshot version.
051     * 
052     * @return String
053     */
054    public String getTimestamp()
055    {
056        return this.timestamp;
057    } //-- String getTimestamp()
058
059    /**
060     * Set the incremental build number of the snapshot.
061     * 
062     * @param buildNumber
063     */
064    public void setBuildNumber( int buildNumber )
065    {
066        this.buildNumber = buildNumber;
067    } //-- void setBuildNumber( int )
068
069    /**
070     * Set the unique timestamp for the snapshot version.
071     * 
072     * @param timestamp
073     */
074    public void setTimestamp( String timestamp )
075    {
076        this.timestamp = timestamp;
077    } //-- void setTimestamp( String )
078
079    
080    private static final long serialVersionUID = -1251466956496493405L;
081          
082}