View Javadoc

1   // =================== DO NOT EDIT THIS FILE ====================
2   // Generated by Modello 1.7,
3   // any modifications will be overwritten.
4   // ==============================================================
5   
6   package org.apache.maven.plugin.descriptor.model;
7   
8   /**
9    * Definition of a dependency, needed by the plugin at runtime.
10   * 
11   * @version $Revision: 855142 $ $Date: 2013-03-20 01:55:13 +0100 (Wed, 20 Mar 2013) $
12   */
13  @SuppressWarnings( "all" )
14  public class Dependency
15      implements java.io.Serializable
16  {
17  
18        //--------------------------/
19       //- Class/Member Variables -/
20      //--------------------------/
21  
22      /**
23       * The group id of the dependency.
24       */
25      private String groupId;
26  
27      /**
28       * The artifact id of the dependency.
29       */
30      private String artifactId;
31  
32      /**
33       * The version of the dependency.
34       */
35      private String version;
36  
37      /**
38       * The type of dependency.
39       */
40      private String type = "jar";
41  
42  
43        //-----------/
44       //- Methods -/
45      //-----------/
46  
47      /**
48       * Get the artifact id of the dependency.
49       * 
50       * @return String
51       */
52      public String getArtifactId()
53      {
54          return this.artifactId;
55      } //-- String getArtifactId()
56  
57      /**
58       * Get the group id of the dependency.
59       * 
60       * @return String
61       */
62      public String getGroupId()
63      {
64          return this.groupId;
65      } //-- String getGroupId()
66  
67      /**
68       * Get the type of dependency.
69       * 
70       * @return String
71       */
72      public String getType()
73      {
74          return this.type;
75      } //-- String getType()
76  
77      /**
78       * Get the version of the dependency.
79       * 
80       * @return String
81       */
82      public String getVersion()
83      {
84          return this.version;
85      } //-- String getVersion()
86  
87      /**
88       * Set the artifact id of the dependency.
89       * 
90       * @param artifactId
91       */
92      public void setArtifactId( String artifactId )
93      {
94          this.artifactId = artifactId;
95      } //-- void setArtifactId( String )
96  
97      /**
98       * Set the group id of the dependency.
99       * 
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 }