001// =================== DO NOT EDIT THIS FILE ====================
002// Generated by Modello 1.8.3,
003// any modifications will be overwritten.
004// ==============================================================
005
006package org.apache.maven.model;
007
008/**
009 * A PatternSet for files.
010 * 
011 * @version $Revision$ $Date$
012 */
013@SuppressWarnings( "all" )
014public class FileSet
015    extends PatternSet
016    implements java.io.Serializable, java.lang.Cloneable
017{
018
019      //--------------------------/
020     //- Class/Member Variables -/
021    //--------------------------/
022
023    /**
024     * Describe the directory where the resources are stored. The
025     * path is relative
026     *             to the POM.
027     */
028    private String directory;
029
030
031      //-----------/
032     //- Methods -/
033    //-----------/
034
035    /**
036     * Method clone.
037     * 
038     * @return FileSet
039     */
040    public FileSet clone()
041    {
042        try
043        {
044            FileSet copy = (FileSet) super.clone();
045
046            return copy;
047        }
048        catch ( java.lang.Exception ex )
049        {
050            throw (java.lang.RuntimeException) new java.lang.UnsupportedOperationException( getClass().getName()
051                + " does not support clone()" ).initCause( ex );
052        }
053    } //-- FileSet clone()
054
055    /**
056     * Get describe the directory where the resources are stored.
057     * The path is relative
058     *             to the POM.
059     * 
060     * @return String
061     */
062    public String getDirectory()
063    {
064        return this.directory;
065    } //-- String getDirectory()
066
067    /**
068     * Set describe the directory where the resources are stored.
069     * The path is relative
070     *             to the POM.
071     * 
072     * @param directory
073     */
074    public void setDirectory( String directory )
075    {
076        this.directory = directory;
077    } //-- void setDirectory( String )
078
079    
080            
081    /**
082     * @see java.lang.Object#toString()
083     */
084    public String toString()
085    {
086        return "FileSet {directory: " + getDirectory() + ", " + super.toString() + "}";
087    }
088            
089          
090}