View Javadoc

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