View Javadoc

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