View Javadoc

1   package pt.digitalis.maven.ormgenerator;
2   
3   import java.util.ArrayList;
4   import java.util.Collection;
5   import java.util.List;
6   
7   /**
8    * Services pojo class. This class represents the services specified in xml and to be read in the freemarker template.
9    *
10   *
11   * @author António Silva <a href="mailto:asilva@digitalis.pt">asilva@digitalis.pt</a>
12   * @created Nov 6, 2007
13   *
14   */
15  public class Services {
16      /**
17       * Name of the service
18       */
19      public String name;
20  
21      /**
22       * A List with the services linked to this service
23       */
24      public List<String> linkedServices = new ArrayList<String>();
25  
26      /**
27       * A List with the daos linked to this service
28       */
29      public List<DAO> linkedDAOs = new ArrayList<DAO>();
30  
31      /**
32       * @return the linkedDAOs
33       */
34      public Collection<DAO> getLinkedDAOs() {
35          return linkedDAOs;
36      }
37  
38      /**
39       * @return the linkedServices
40       */
41      public Collection<String> getLinkedServices() {
42          return linkedServices;
43      }
44  
45  
46      /**
47       * @return the name
48       */
49      public String getName() {
50          return name;
51      }
52  
53      /**
54       * @param name
55       *            the name to set
56       */
57      public void setName(String name) {
58          this.name = name;
59      }
60  
61  }