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