001// =================== DO NOT EDIT THIS FILE ====================
002// Generated by Modello 1.8.3,
003// any modifications will be overwritten.
004// ==============================================================
005
006package org.apache.maven.artifact.repository.metadata;
007
008/**
009 * Versioning information for a sub-artifact of the current
010 * snapshot artifact.
011 * 
012 * @version $Revision: 965443 $ $Date: 2015-09-14 22:18:52 +0000 (Mon, 14 Sep 2015) $
013 */
014@SuppressWarnings( "all" )
015public class SnapshotVersion
016    implements java.io.Serializable, java.lang.Cloneable
017{
018
019      //--------------------------/
020     //- Class/Member Variables -/
021    //--------------------------/
022
023    /**
024     * The classifier of the sub-artifact.
025     */
026    private String classifier = "";
027
028    /**
029     * The file extension of thesub-artifact.
030     */
031    private String extension;
032
033    /**
034     * The resolved snapshot version of the sub-artifact.
035     */
036    private String version;
037
038    /**
039     * The timestamp when this version information was last
040     * updated. The timestamp is expressed using UTC in the format
041     * yyyyMMddHHmmss.
042     */
043    private String updated;
044
045
046      //-----------/
047     //- Methods -/
048    //-----------/
049
050    /**
051     * Method clone.
052     * 
053     * @return SnapshotVersion
054     */
055    public SnapshotVersion clone()
056    {
057        try
058        {
059            SnapshotVersion copy = (SnapshotVersion) super.clone();
060
061            return copy;
062        }
063        catch ( java.lang.Exception ex )
064        {
065            throw (java.lang.RuntimeException) new java.lang.UnsupportedOperationException( getClass().getName()
066                + " does not support clone()" ).initCause( ex );
067        }
068    } //-- SnapshotVersion clone()
069
070    /**
071     * Get the classifier of the sub-artifact.
072     * 
073     * @return String
074     */
075    public String getClassifier()
076    {
077        return this.classifier;
078    } //-- String getClassifier()
079
080    /**
081     * Get the file extension of thesub-artifact.
082     * 
083     * @return String
084     */
085    public String getExtension()
086    {
087        return this.extension;
088    } //-- String getExtension()
089
090    /**
091     * Get the timestamp when this version information was last
092     * updated. The timestamp is expressed using UTC in the format
093     * yyyyMMddHHmmss.
094     * 
095     * @return String
096     */
097    public String getUpdated()
098    {
099        return this.updated;
100    } //-- String getUpdated()
101
102    /**
103     * Get the resolved snapshot version of the sub-artifact.
104     * 
105     * @return String
106     */
107    public String getVersion()
108    {
109        return this.version;
110    } //-- String getVersion()
111
112    /**
113     * Set the classifier of the sub-artifact.
114     * 
115     * @param classifier
116     */
117    public void setClassifier( String classifier )
118    {
119        this.classifier = classifier;
120    } //-- void setClassifier( String )
121
122    /**
123     * Set the file extension of thesub-artifact.
124     * 
125     * @param extension
126     */
127    public void setExtension( String extension )
128    {
129        this.extension = extension;
130    } //-- void setExtension( String )
131
132    /**
133     * Set the timestamp when this version information was last
134     * updated. The timestamp is expressed using UTC in the format
135     * yyyyMMddHHmmss.
136     * 
137     * @param updated
138     */
139    public void setUpdated( String updated )
140    {
141        this.updated = updated;
142    } //-- void setUpdated( String )
143
144    /**
145     * Set the resolved snapshot version of the sub-artifact.
146     * 
147     * @param version
148     */
149    public void setVersion( String version )
150    {
151        this.version = version;
152    } //-- void setVersion( String )
153
154}