001    /*
002     =================== DO NOT EDIT THIS FILE ====================
003     Generated by Modello 1.4.1 on 2012-01-20 18:05:12,
004     any modifications will be overwritten.
005     ==============================================================
006     */
007    
008    package org.apache.maven.artifact.repository.metadata;
009    
010    /**
011     * Mapping information for a single plugin within this group.
012     * 
013     * @version $Revision$ $Date$
014     */
015    @SuppressWarnings( "all" )
016    public class Plugin
017        implements java.io.Serializable, java.lang.Cloneable
018    {
019    
020          //--------------------------/
021         //- Class/Member Variables -/
022        //--------------------------/
023    
024        /**
025         * Display name for the plugin.
026         */
027        private String name;
028    
029        /**
030         * The plugin invocation prefix (i.e. eclipse for
031         * eclipse:eclipse).
032         */
033        private String prefix;
034    
035        /**
036         * The plugin artifactId.
037         */
038        private String artifactId;
039    
040    
041          //-----------/
042         //- Methods -/
043        //-----------/
044    
045        /**
046         * Method clone.
047         * 
048         * @return Plugin
049         */
050        public Plugin clone()
051        {
052            try
053            {
054                Plugin copy = (Plugin) super.clone();
055    
056                return copy;
057            }
058            catch ( java.lang.Exception ex )
059            {
060                throw (java.lang.RuntimeException) new java.lang.UnsupportedOperationException( getClass().getName()
061                    + " does not support clone()" ).initCause( ex );
062            }
063        } //-- Plugin clone()
064    
065        /**
066         * Get the plugin artifactId.
067         * 
068         * @return String
069         */
070        public String getArtifactId()
071        {
072            return this.artifactId;
073        } //-- String getArtifactId()
074    
075        /**
076         * Get display name for the plugin.
077         * 
078         * @return String
079         */
080        public String getName()
081        {
082            return this.name;
083        } //-- String getName()
084    
085        /**
086         * Get the plugin invocation prefix (i.e. eclipse for
087         * eclipse:eclipse).
088         * 
089         * @return String
090         */
091        public String getPrefix()
092        {
093            return this.prefix;
094        } //-- String getPrefix()
095    
096        /**
097         * Set the plugin artifactId.
098         * 
099         * @param artifactId
100         */
101        public void setArtifactId( String artifactId )
102        {
103            this.artifactId = artifactId;
104        } //-- void setArtifactId( String )
105    
106        /**
107         * Set display name for the plugin.
108         * 
109         * @param name
110         */
111        public void setName( String name )
112        {
113            this.name = name;
114        } //-- void setName( String )
115    
116        /**
117         * Set the plugin invocation prefix (i.e. eclipse for
118         * eclipse:eclipse).
119         * 
120         * @param prefix
121         */
122        public void setPrefix( String prefix )
123        {
124            this.prefix = prefix;
125        } //-- void setPrefix( String )
126    
127    }