1
2
3
4
5 package org.apache.maven.plugin.tools.model;
6
7
8
9
10
11 import java.util.Date;
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 public class Component implements java.io.Serializable {
22
23
24
25
26
27
28 /**
29 * Field role
30 */
31 private String role;
32
33 /**
34 * Field hint
35 */
36 private String hint;
37
38
39
40
41
42
43 /**
44 * Get The role-hint to lookup.
45 */
46 public String getHint()
47 {
48 return this.hint;
49 }
50
51 /**
52 * Get The component role to lookup.
53 */
54 public String getRole()
55 {
56 return this.role;
57 }
58
59 /**
60 * Set The role-hint to lookup.
61 *
62 * @param hint
63 */
64 public void setHint(String hint)
65 {
66 this.hint = hint;
67 }
68
69 /**
70 * Set The component role to lookup.
71 *
72 * @param role
73 */
74 public void setRole(String role)
75 {
76 this.role = role;
77 }
78
79
80 private String modelEncoding = "UTF-8";
81
82 public void setModelEncoding( String modelEncoding )
83 {
84 this.modelEncoding = modelEncoding;
85 }
86
87 public String getModelEncoding()
88 {
89 return modelEncoding;
90 }}