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.tools.plugin.extractor.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$ $Date$
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 a hint object.
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 a role object.
74       */
75      public void setRole( String role )
76      {
77          this.role = role;
78      } //-- void setRole( String )
79  
80  }