001    // =================== DO NOT EDIT THIS FILE ====================
002    // Generated by Modello 1.7,
003    // any modifications will be overwritten.
004    // ==============================================================
005    
006    package org.apache.maven.model;
007    
008    /**
009     * Repository contains the information needed for deploying to the
010     * remote
011     *         repository.
012     * 
013     * @version $Revision$ $Date$
014     */
015    @SuppressWarnings( "all" )
016    public class DeploymentRepository
017        extends Repository
018        implements java.io.Serializable, java.lang.Cloneable
019    {
020    
021          //--------------------------/
022         //- Class/Member Variables -/
023        //--------------------------/
024    
025        /**
026         * Whether to assign snapshots a unique version comprised of
027         * the timestamp and
028         *             build number, or to use the same version each
029         * time.
030         */
031        private boolean uniqueVersion = true;
032    
033    
034          //-----------/
035         //- Methods -/
036        //-----------/
037    
038        /**
039         * Method clone.
040         * 
041         * @return DeploymentRepository
042         */
043        public DeploymentRepository clone()
044        {
045            try
046            {
047                DeploymentRepository copy = (DeploymentRepository) super.clone();
048    
049                return copy;
050            }
051            catch ( java.lang.Exception ex )
052            {
053                throw (java.lang.RuntimeException) new java.lang.UnsupportedOperationException( getClass().getName()
054                    + " does not support clone()" ).initCause( ex );
055            }
056        } //-- DeploymentRepository clone()
057    
058        /**
059         * Get whether to assign snapshots a unique version comprised
060         * of the timestamp and
061         *             build number, or to use the same version each
062         * time.
063         * 
064         * @return boolean
065         */
066        public boolean isUniqueVersion()
067        {
068            return this.uniqueVersion;
069        } //-- boolean isUniqueVersion()
070    
071        /**
072         * Set whether to assign snapshots a unique version comprised
073         * of the timestamp and
074         *             build number, or to use the same version each
075         * time.
076         * 
077         * @param uniqueVersion
078         */
079        public void setUniqueVersion( boolean uniqueVersion )
080        {
081            this.uniqueVersion = uniqueVersion;
082        } //-- void setUniqueVersion( boolean )
083    
084    }