View Javadoc

1   package org.andromda.core.anttasks;
2   
3   import java.io.File;
4   
5   /***
6    * Realizes a mapping between a logical outlet alias name and the physical
7    * directory. Used by the <outlet> subtask of the <andromda> task.
8    * 
9    * @since 02.04.2003
10   * @author <a href="http://www.mbohlen.de">Matthias Bohlen</a>
11   *
12   */
13  public class OutletMapping
14  {
15      private String cartridge;
16      private String outlet;
17      private File   dir;
18      
19      
20      /***
21       * Returns the name of the cartridge for which the mapping applies.
22       * @return String
23       */
24      public String getCartridge()
25      {
26          return cartridge;
27      }
28  
29      /***
30       * Returns the physical directory.
31       * @return File
32       */
33      public File getDir()
34      {
35          return dir;
36      }
37  
38      /***
39       * Returns the logical outlet name to be mapped.
40       * @return String
41       */
42      public String getOutlet()
43      {
44          return outlet;
45      }
46  
47      /***
48       * Sets the cartridge.
49       * @param cartridge The cartridge to set
50       */
51      public void setCartridge(String cartridge)
52      {
53          this.cartridge = cartridge;
54      }
55  
56      /***
57       * Sets the dir.
58       * @param dir The dir to set
59       */
60      public void setDir(File dir)
61      {
62          this.dir = dir;
63      }
64  
65      /***
66       * Sets the outlet.
67       * @param outlet The outlet to set
68       */
69      public void setOutlet(String outlet)
70      {
71          this.outlet = outlet;
72      }
73  
74  }