All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.maven.plugins.changes.model.Component Maven / Gradle / Ivy

Go to download

Creates a release history for inclusion into the site and assists in generating an announcement mail.

The newest version!
// =================== DO NOT EDIT THIS FILE ====================
// Generated by Modello 2.4.0,
// any modifications will be overwritten.
// ==============================================================

package org.apache.maven.plugins.changes.model;

/**
 * 
 *         A component as a part of current release.
 *       
 * 
 * @version $Revision$ $Date$
 */
@SuppressWarnings( "all" )
public class Component
    implements java.io.Serializable
{

      //--------------------------/
     //- Class/Member Variables -/
    //--------------------------/

    /**
     * 
     *             The component name.
     *           
     */
    private String name;

    /**
     * 
     *             The component description.
     *           
     */
    private String description;

    /**
     * Field actions.
     */
    private java.util.List actions;


      //-----------/
     //- Methods -/
    //-----------/

    /**
     * Method addAction.
     * 
     * @param action a action object.
     */
    public void addAction( Action action )
    {
        getActions().add( action );
    } //-- void addAction( Action )

    /**
     * Method getActions.
     * 
     * @return List
     */
    public java.util.List getActions()
    {
        if ( this.actions == null )
        {
            this.actions = new java.util.ArrayList();
        }

        return this.actions;
    } //-- java.util.List getActions()

    /**
     * Get the component description.
     * 
     * @return String
     */
    public String getDescription()
    {
        return this.description;
    } //-- String getDescription()

    /**
     * Get the component name.
     * 
     * @return String
     */
    public String getName()
    {
        return this.name;
    } //-- String getName()

    /**
     * Method removeAction.
     * 
     * @param action a action object.
     */
    public void removeAction( Action action )
    {
        getActions().remove( action );
    } //-- void removeAction( Action )

    /**
     * Set the list of actions for this component.
     * 
     * @param actions a actions object.
     */
    public void setActions( java.util.List actions )
    {
        this.actions = actions;
    } //-- void setActions( java.util.List )

    /**
     * Set the component description.
     * 
     * @param description a description object.
     */
    public void setDescription( String description )
    {
        this.description = description;
    } //-- void setDescription( String )

    /**
     * Set the component name.
     * 
     * @param name a name object.
     */
    public void setName( String name )
    {
        this.name = name;
    } //-- void setName( String )

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy