001    /*
002     =================== DO NOT EDIT THIS FILE ====================
003     Generated by Modello 1.4.1 on 2012-01-20 18:12:11,
004     any modifications will be overwritten.
005     ==============================================================
006     */
007    
008    package org.apache.maven.plugin.descriptor.model;
009    
010    /**
011     * Definition of a dependency, needed by the plugin at runtime.
012     * 
013     * @version $Revision$ $Date$
014     */
015    @SuppressWarnings( "all" )
016    public class Dependency
017        implements java.io.Serializable
018    {
019    
020          //--------------------------/
021         //- Class/Member Variables -/
022        //--------------------------/
023    
024        /**
025         * The group id of the dependency.
026         */
027        private String groupId;
028    
029        /**
030         * The artifact id of the dependency.
031         */
032        private String artifactId;
033    
034        /**
035         * The version of the dependency.
036         */
037        private String version;
038    
039        /**
040         * The type of dependency.
041         */
042        private String type = "jar";
043    
044    
045          //-----------/
046         //- Methods -/
047        //-----------/
048    
049        /**
050         * Get the artifact id of the dependency.
051         * 
052         * @return String
053         */
054        public String getArtifactId()
055        {
056            return this.artifactId;
057        } //-- String getArtifactId()
058    
059        /**
060         * Get the group id of the dependency.
061         * 
062         * @return String
063         */
064        public String getGroupId()
065        {
066            return this.groupId;
067        } //-- String getGroupId()
068    
069        /**
070         * Get the type of dependency.
071         * 
072         * @return String
073         */
074        public String getType()
075        {
076            return this.type;
077        } //-- String getType()
078    
079        /**
080         * Get the version of the dependency.
081         * 
082         * @return String
083         */
084        public String getVersion()
085        {
086            return this.version;
087        } //-- String getVersion()
088    
089        /**
090         * Set the artifact id of the dependency.
091         * 
092         * @param artifactId
093         */
094        public void setArtifactId( String artifactId )
095        {
096            this.artifactId = artifactId;
097        } //-- void setArtifactId( String )
098    
099        /**
100         * Set the group id of the dependency.
101         * 
102         * @param groupId
103         */
104        public void setGroupId( String groupId )
105        {
106            this.groupId = groupId;
107        } //-- void setGroupId( String )
108    
109        /**
110         * Set the type of dependency.
111         * 
112         * @param type
113         */
114        public void setType( String type )
115        {
116            this.type = type;
117        } //-- void setType( String )
118    
119        /**
120         * Set the version of the dependency.
121         * 
122         * @param version
123         */
124        public void setVersion( String version )
125        {
126            this.version = version;
127        } //-- void setVersion( String )
128    
129    }