001    /*
002     =================== DO NOT EDIT THIS FILE ====================
003     Generated by Modello 1.4.1 on 2012-01-20 18:32:34,
004     any modifications will be overwritten.
005     ==============================================================
006     */
007    
008    package org.apache.maven.profiles;
009    
010    /**
011     * 
012     *         Repository contains the information needed for
013     * establishing connections with remote repoistory
014     *       .
015     * 
016     * @version $Revision$ $Date$
017     */
018    @SuppressWarnings( "all" )
019    public class Repository
020        extends RepositoryBase
021        implements java.io.Serializable
022    {
023    
024          //--------------------------/
025         //- Class/Member Variables -/
026        //--------------------------/
027    
028        /**
029         * How to handle downloading of releases from this repository.
030         */
031        private RepositoryPolicy releases;
032    
033        /**
034         * How to handle downloading of snapshots from this repository.
035         */
036        private RepositoryPolicy snapshots;
037    
038    
039          //-----------/
040         //- Methods -/
041        //-----------/
042    
043        /**
044         * Get how to handle downloading of releases from this
045         * repository.
046         * 
047         * @return RepositoryPolicy
048         */
049        public RepositoryPolicy getReleases()
050        {
051            return this.releases;
052        } //-- RepositoryPolicy getReleases()
053    
054        /**
055         * Get how to handle downloading of snapshots from this
056         * repository.
057         * 
058         * @return RepositoryPolicy
059         */
060        public RepositoryPolicy getSnapshots()
061        {
062            return this.snapshots;
063        } //-- RepositoryPolicy getSnapshots()
064    
065        /**
066         * Set how to handle downloading of releases from this
067         * repository.
068         * 
069         * @param releases
070         */
071        public void setReleases( RepositoryPolicy releases )
072        {
073            this.releases = releases;
074        } //-- void setReleases( RepositoryPolicy )
075    
076        /**
077         * Set how to handle downloading of snapshots from this
078         * repository.
079         * 
080         * @param snapshots
081         */
082        public void setSnapshots( RepositoryPolicy snapshots )
083        {
084            this.snapshots = snapshots;
085        } //-- void setSnapshots( RepositoryPolicy )
086    
087        
088                public boolean equals( Object obj )
089                {
090                    return super.equals( obj );
091                }
092              
093    }