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