Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
ModuleDescriptor |
|
| 0.0;0 |
1 | /* | |
2 | =================== DO NOT EDIT THIS FILE ==================== | |
3 | Generated by Modello 1.4 on 2010-10-28 03:23:59, | |
4 | any modifications will be overwritten. | |
5 | ============================================================== | |
6 | */ | |
7 | ||
8 | package org.apache.maven.archetype.metadata; | |
9 | ||
10 | /** | |
11 | * Class ModuleDescriptor. | |
12 | * | |
13 | * @version $Revision$ $Date$ | |
14 | */ | |
15 | @SuppressWarnings( "all" ) | |
16 | 31 | public class ModuleDescriptor |
17 | extends AbstractArchetypeDescriptor | |
18 | implements java.io.Serializable | |
19 | { | |
20 | ||
21 | //--------------------------/ | |
22 | //- Class/Member Variables -/ | |
23 | //--------------------------/ | |
24 | ||
25 | /** | |
26 | * The module's artifactId. | |
27 | */ | |
28 | private String id; | |
29 | ||
30 | /** | |
31 | * The module's directory. | |
32 | */ | |
33 | private String dir; | |
34 | ||
35 | /** | |
36 | * The module's name. | |
37 | */ | |
38 | private String name; | |
39 | ||
40 | ||
41 | //-----------/ | |
42 | //- Methods -/ | |
43 | //-----------/ | |
44 | ||
45 | /** | |
46 | * Get the module's directory. | |
47 | * | |
48 | * @return String | |
49 | */ | |
50 | public String getDir() | |
51 | { | |
52 | 55 | return this.dir; |
53 | } //-- String getDir() | |
54 | ||
55 | /** | |
56 | * Get the module's artifactId. | |
57 | * | |
58 | * @return String | |
59 | */ | |
60 | public String getId() | |
61 | { | |
62 | 44 | return this.id; |
63 | } //-- String getId() | |
64 | ||
65 | /** | |
66 | * Get the module's name. | |
67 | * | |
68 | * @return String | |
69 | */ | |
70 | public String getName() | |
71 | { | |
72 | 70 | return this.name; |
73 | } //-- String getName() | |
74 | ||
75 | /** | |
76 | * Set the module's directory. | |
77 | * | |
78 | * @param dir | |
79 | */ | |
80 | public void setDir( String dir ) | |
81 | { | |
82 | 31 | this.dir = dir; |
83 | 31 | } //-- void setDir( String ) |
84 | ||
85 | /** | |
86 | * Set the module's artifactId. | |
87 | * | |
88 | * @param id | |
89 | */ | |
90 | public void setId( String id ) | |
91 | { | |
92 | 31 | this.id = id; |
93 | 31 | } //-- void setId( String ) |
94 | ||
95 | /** | |
96 | * Set the module's name. | |
97 | * | |
98 | * @param name | |
99 | */ | |
100 | public void setName( String name ) | |
101 | { | |
102 | 31 | this.name = name; |
103 | 31 | } //-- void setName( String ) |
104 | ||
105 | } |