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