View Javadoc
1   // =================== DO NOT EDIT THIS FILE ====================
2   // Generated by Modello 2.1.2,
3   // any modifications will be overwritten.
4   // ==============================================================
5   
6   package org.apache.maven.artifact.repository.metadata;
7   
8   /**
9    * Mapping information for a single plugin within this group.
10   * 
11   * @version $Revision$ $Date$
12   */
13  @SuppressWarnings( "all" )
14  public class Plugin
15      implements java.io.Serializable, java.lang.Cloneable
16  {
17  
18        //--------------------------/
19       //- Class/Member Variables -/
20      //--------------------------/
21  
22      /**
23       * Display name for the plugin.
24       */
25      private String name;
26  
27      /**
28       * The plugin invocation prefix (i.e. eclipse for
29       * eclipse:eclipse).
30       */
31      private String prefix;
32  
33      /**
34       * The plugin artifactId.
35       */
36      private String artifactId;
37  
38  
39        //-----------/
40       //- Methods -/
41      //-----------/
42  
43      /**
44       * Method clone.
45       * 
46       * @return Plugin
47       */
48      public Plugin clone()
49      {
50          try
51          {
52              Plugin copy = (Plugin) super.clone();
53  
54              return copy;
55          }
56          catch ( java.lang.Exception ex )
57          {
58              throw (java.lang.RuntimeException) new java.lang.UnsupportedOperationException( getClass().getName()
59                  + " does not support clone()" ).initCause( ex );
60          }
61      } //-- Plugin clone()
62  
63      /**
64       * Get the plugin artifactId.
65       * 
66       * @return String
67       */
68      public String getArtifactId()
69      {
70          return this.artifactId;
71      } //-- String getArtifactId()
72  
73      /**
74       * Get display name for the plugin.
75       * 
76       * @return String
77       */
78      public String getName()
79      {
80          return this.name;
81      } //-- String getName()
82  
83      /**
84       * Get the plugin invocation prefix (i.e. eclipse for
85       * eclipse:eclipse).
86       * 
87       * @return String
88       */
89      public String getPrefix()
90      {
91          return this.prefix;
92      } //-- String getPrefix()
93  
94      /**
95       * Set the plugin artifactId.
96       * 
97       * @param artifactId a artifactId object.
98       */
99      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 a name object.
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 a prefix object.
119      */
120     public void setPrefix( String prefix )
121     {
122         this.prefix = prefix;
123     } //-- void setPrefix( String )
124 
125 }