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.profiles;
007
008/**
009 * 
010 *         Repository contains the information needed for
011 * establishing connections with remote repoistory
012 *       .
013 * 
014 * @version $Revision: 965443 $ $Date: 2015-09-14 22:18:52 +0000 (Mon, 14 Sep 2015) $
015 */
016@SuppressWarnings( "all" )
017public class Repository
018    extends RepositoryBase
019    implements java.io.Serializable
020{
021
022      //--------------------------/
023     //- Class/Member Variables -/
024    //--------------------------/
025
026    /**
027     * How to handle downloading of releases from this repository.
028     */
029    private RepositoryPolicy releases;
030
031    /**
032     * How to handle downloading of snapshots from this repository.
033     */
034    private RepositoryPolicy snapshots;
035
036
037      //-----------/
038     //- Methods -/
039    //-----------/
040
041    /**
042     * Get how to handle downloading of releases from this
043     * repository.
044     * 
045     * @return RepositoryPolicy
046     */
047    public RepositoryPolicy getReleases()
048    {
049        return this.releases;
050    } //-- RepositoryPolicy getReleases()
051
052    /**
053     * Get how to handle downloading of snapshots from this
054     * repository.
055     * 
056     * @return RepositoryPolicy
057     */
058    public RepositoryPolicy getSnapshots()
059    {
060        return this.snapshots;
061    } //-- RepositoryPolicy getSnapshots()
062
063    /**
064     * Set how to handle downloading of releases from this
065     * repository.
066     * 
067     * @param releases
068     */
069    public void setReleases( RepositoryPolicy releases )
070    {
071        this.releases = releases;
072    } //-- void setReleases( RepositoryPolicy )
073
074    /**
075     * Set how to handle downloading of snapshots from this
076     * repository.
077     * 
078     * @param snapshots
079     */
080    public void setSnapshots( RepositoryPolicy snapshots )
081    {
082        this.snapshots = snapshots;
083    } //-- void setSnapshots( RepositoryPolicy )
084
085    
086            public boolean equals( Object obj )
087            {
088                return super.equals( obj );
089            }
090          
091}