1 /*
2 Licensed to the Apache Software Foundation (ASF) under one
3 or more contributor license agreements. See the NOTICE file
4 distributed with this work for additional information
5 regarding copyright ownership. The ASF licenses this file
6 to you under the Apache License, Version 2.0 (the
7 "License"); you may not use this file except in compliance
8 with the License. You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing,
13 software distributed under the License is distributed on an
14 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 KIND, either express or implied. See the License for the
16 specific language governing permissions and limitations
17 under the License.
18 =================== DO NOT EDIT THIS FILE ====================
19 Generated by Modello 2.5.1,
20 any modifications will be overwritten.
21 ==============================================================
22 */
23
24 package org.apache.maven.tools.plugin.extractor.model;
25
26 /**
27 *
28 * A reference to a plexus component, assumed to be
29 * available to the plugin container.
30 *
31 *
32 * @version $Revision$ $Date$
33 */
34 @SuppressWarnings( "all" )
35 public class Component
36 implements java.io.Serializable
37 {
38
39 //--------------------------/
40 //- Class/Member Variables -/
41 //--------------------------/
42
43 /**
44 * The component role to lookup.
45 */
46 private String role;
47
48 /**
49 * The role-hint to lookup.
50 */
51 private String hint;
52
53
54 //-----------/
55 //- Methods -/
56 //-----------/
57
58 /**
59 * Get the role-hint to lookup.
60 *
61 * @return String
62 */
63 public String getHint()
64 {
65 return this.hint;
66 } //-- String getHint()
67
68 /**
69 * Get the component role to lookup.
70 *
71 * @return String
72 */
73 public String getRole()
74 {
75 return this.role;
76 } //-- String getRole()
77
78 /**
79 * Set the role-hint to lookup.
80 *
81 * @param hint a hint object.
82 */
83 public void setHint( String hint )
84 {
85 this.hint = hint;
86 } //-- void setHint( String )
87
88 /**
89 * Set the component role to lookup.
90 *
91 * @param role a role object.
92 */
93 public void setRole( String role )
94 {
95 this.role = role;
96 } //-- void setRole( String )
97
98 }