1 /*
2 Licensed to the Apache Software Foundation (ASF) under one
3 or more contributor license agreements. See the NOTICE file
4 distributed with this work for additional information
5 regarding copyright ownership. The ASF licenses this file
6 to you under the Apache License, Version 2.0 (the
7 "License"); you may not use this file except in compliance
8 with the License. You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing,
13 software distributed under the License is distributed on an
14 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 KIND, either express or implied. See the License for the
16 specific language governing permissions and limitations
17 under the License.
18 =================== DO NOT EDIT THIS FILE ====================
19 Generated by Modello 2.5.1,
20 any modifications will be overwritten.
21 ==============================================================
22 */
23
24 package org.apache.maven.archetype.metadata;
25
26 /**
27 * Class ModuleDescriptor.
28 *
29 * @version $Revision$ $Date$
30 */
31 @SuppressWarnings( "all" )
32 public class ModuleDescriptor
33 extends AbstractArchetypeDescriptor
34 implements java.io.Serializable
35 {
36
37 //--------------------------/
38 //- Class/Member Variables -/
39 //--------------------------/
40
41 /**
42 * The module's artifactId.
43 */
44 private String id;
45
46 /**
47 * The module's directory.
48 */
49 private String dir;
50
51 /**
52 * The module's name.
53 */
54 private String name;
55
56
57 //-----------/
58 //- Methods -/
59 //-----------/
60
61 /**
62 * Get the module's directory.
63 *
64 * @return String
65 */
66 public String getDir()
67 {
68 return this.dir;
69 } //-- String getDir()
70
71 /**
72 * Get the module's artifactId.
73 *
74 * @return String
75 */
76 public String getId()
77 {
78 return this.id;
79 } //-- String getId()
80
81 /**
82 * Get the module's name.
83 *
84 * @return String
85 */
86 public String getName()
87 {
88 return this.name;
89 } //-- String getName()
90
91 /**
92 * Set the module's directory.
93 *
94 * @param dir a dir object.
95 */
96 public void setDir( String dir )
97 {
98 this.dir = dir;
99 } //-- void setDir( String )
100
101 /**
102 * Set the module's artifactId.
103 *
104 * @param id a id object.
105 */
106 public void setId( String id )
107 {
108 this.id = id;
109 } //-- void setId( String )
110
111 /**
112 * Set the module's name.
113 *
114 * @param name a name object.
115 */
116 public void setName( String name )
117 {
118 this.name = name;
119 } //-- void setName( String )
120
121 }