View Javadoc

1   /*
2    * UML2MMBase module.
3    *
4    * The contents of this file are subject to the Mozilla Public License
5    * Version 1.0 (the "License"); you may not use this file except in
6    * compliance with the License. You may obtain a copy of the License at
7    * http://www.mozilla.org/MPL/
8    *
9    * Software distributed under the License is distributed on an "AS IS"
10   * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
11   * License for the specific language governing rights and limitations
12   * under the License.
13   */
14  
15  package com.finalist.mmbase.modules;
16  
17  /***
18   * The mmbase package configuration class will be used by the package handler to pass configuration information
19   * to the generators.
20   *
21   * @author Rudie Ekkelenkamp
22   * @version $Revision: 1.1 $, $Date: 2004/11/01 13:19:07 $
23   */
24  public class MMBasePackageConfiguration {
25  
26      /*** MMbase version */
27      private String mmbaseVersion;
28  
29      /*** Name of the UML model */
30      private String modelName;
31  
32      /*** Name of the output dir where the generated code has to be stored. */
33      private String generatedDir;
34  
35      /*** MMBase Package name */
36      privateong> String packageName;
37  
38      /***
39       * Getter.
40       * @return the mmbase version.
41       */
42      public String getMmbaseVersion() {
43          return mmbaseVersion;
44      }
45  
46      /***
47       * Set the mmbase version.
48       * @param mmbaseVersion the mmbase version.
49       */
50      public void setMmbaseVersion(String mmbaseVersion) {
51          this.mmbaseVersion = mmbaseVersion;
52      }
53  
54      /***
55       * Get the model name.
56       * @return the name of the uml model.
57       */
58      public String getModelName() {
59          return modelName;
60      }
61  
62      /***
63       * Set the uml model name.
64       * @param modelName model name.
65       */
66      public void setModelName(String modelName) {
67          this.modelName = modelName;
68      }
69  
70      /***
71       * Get the generated dir.
72       * @return name of the generated dir.
73       */
74      public String getGeneratedDir() {
75          return generatedDir;
76      }
77  
78      /***
79       * Set the generated dir.
80       * @param generatedDir the generated dir.
81       */
82      public void setGeneratedDir(String generatedDir) {
83          this.generatedDir = generatedDir;
84      }
85  
86  
87      /***
88       * Get the package name.
89       * @return the package name.
90       */
91      public String getPackageName() {
92          return</strong> packageName;
93      }
94  
95      /***
96       * Set the package name.
97       * @param packageName the package name.
98       */
99      publicong> void setPackageName(String packageName) {
100         this.packageName = packageName;
101     }
102 
103 
104 }