View Javadoc
1   // =================== DO NOT EDIT THIS FILE ====================
2   // Generated by Modello 1.8.1,
3   // any modifications will be overwritten.
4   // ==============================================================
5   
6   package org.apache.maven.plugin.tools.model;
7   
8   /**
9    * 
10   *         A reference to a plexus component, assumed to be
11   * available to the plugin container.
12   *       
13   * 
14   * @version $Revision: 907040 $ $Date: 2014-04-27 09:50:12 +0000 (Sun, 27 Apr 2014) $
15   */
16  @SuppressWarnings( "all" )
17  public class Component
18      implements java.io.Serializable
19  {
20  
21        //--------------------------/
22       //- Class/Member Variables -/
23      //--------------------------/
24  
25      /**
26       * The component role to lookup.
27       */
28      private String role;
29  
30      /**
31       * The role-hint to lookup.
32       */
33      private String hint;
34  
35  
36        //-----------/
37       //- Methods -/
38      //-----------/
39  
40      /**
41       * Get the role-hint to lookup.
42       * 
43       * @return String
44       */
45      public String getHint()
46      {
47          return this.hint;
48      } //-- String getHint()
49  
50      /**
51       * Get the component role to lookup.
52       * 
53       * @return String
54       */
55      public String getRole()
56      {
57          return this.role;
58      } //-- String getRole()
59  
60      /**
61       * Set the role-hint to lookup.
62       * 
63       * @param hint
64       */
65      public void setHint( String hint )
66      {
67          this.hint = hint;
68      } //-- void setHint( String )
69  
70      /**
71       * Set the component role to lookup.
72       * 
73       * @param role
74       */
75      public void setRole( String role )
76      {
77          this.role = role;
78      } //-- void setRole( String )
79  
80  }