001 /*
002 =================== DO NOT EDIT THIS FILE ====================
003 Generated by Modello 1.4.1 on 2012-05-28 13:00:07,
004 any modifications will be overwritten.
005 ==============================================================
006 */
007
008 package org.apache.maven.plugin.tools.model;
009
010 /**
011 *
012 * A reference to a plexus component, assumed to be
013 * available to the plugin container.
014 *
015 *
016 * @version $Revision$ $Date$
017 */
018 @SuppressWarnings( "all" )
019 public class Component
020 implements java.io.Serializable
021 {
022
023 //--------------------------/
024 //- Class/Member Variables -/
025 //--------------------------/
026
027 /**
028 * The component role to lookup.
029 */
030 private String role;
031
032 /**
033 * The role-hint to lookup.
034 */
035 private String hint;
036
037
038 //-----------/
039 //- Methods -/
040 //-----------/
041
042 /**
043 * Get the role-hint to lookup.
044 *
045 * @return String
046 */
047 public String getHint()
048 {
049 return this.hint;
050 } //-- String getHint()
051
052 /**
053 * Get the component role to lookup.
054 *
055 * @return String
056 */
057 public String getRole()
058 {
059 return this.role;
060 } //-- String getRole()
061
062 /**
063 * Set the role-hint to lookup.
064 *
065 * @param hint
066 */
067 public void setHint( String hint )
068 {
069 this.hint = hint;
070 } //-- void setHint( String )
071
072 /**
073 * Set the component role to lookup.
074 *
075 * @param role
076 */
077 public void setRole( String role )
078 {
079 this.role = role;
080 } //-- void setRole( String )
081
082 }