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