001/*
002 Licensed to the Apache Software Foundation (ASF) under one
003 or more contributor license agreements.  See the NOTICE file
004 distributed with this work for additional information
005 regarding copyright ownership.  The ASF licenses this file
006 to you under the Apache License, Version 2.0 (the
007 "License"); you may not use this file except in compliance
008 with the License.  You may obtain a copy of the License at
009 
010     http://www.apache.org/licenses/LICENSE-2.0
011 
012 Unless required by applicable law or agreed to in writing,
013 software distributed under the License is distributed on an
014 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
015 KIND, either express or implied.  See the License for the
016 specific language governing permissions and limitations
017 under the License.
018 =================== DO NOT EDIT THIS FILE ====================
019 Generated by Modello 2.5.1,
020 any modifications will be overwritten.
021 ==============================================================
022 */
023
024package org.apache.maven.tools.plugin.extractor.model;
025
026/**
027 * 
028 *         A reference to a plexus component, assumed to be
029 * available to the plugin container.
030 *       
031 * 
032 * @version $Revision$ $Date$
033 */
034@SuppressWarnings( "all" )
035public class Component
036    implements java.io.Serializable
037{
038
039      //--------------------------/
040     //- Class/Member Variables -/
041    //--------------------------/
042
043    /**
044     * The component role to lookup.
045     */
046    private String role;
047
048    /**
049     * The role-hint to lookup.
050     */
051    private String hint;
052
053
054      //-----------/
055     //- Methods -/
056    //-----------/
057
058    /**
059     * Get the role-hint to lookup.
060     * 
061     * @return String
062     */
063    public String getHint()
064    {
065        return this.hint;
066    } //-- String getHint()
067
068    /**
069     * Get the component role to lookup.
070     * 
071     * @return String
072     */
073    public String getRole()
074    {
075        return this.role;
076    } //-- String getRole()
077
078    /**
079     * Set the role-hint to lookup.
080     * 
081     * @param hint a hint object.
082     */
083    public void setHint( String hint )
084    {
085        this.hint = hint;
086    } //-- void setHint( String )
087
088    /**
089     * Set the component role to lookup.
090     * 
091     * @param role a role object.
092     */
093    public void setRole( String role )
094    {
095        this.role = role;
096    } //-- void setRole( String )
097
098}