View Javadoc
1   /*
2    * Created on Jun 8, 2005
3    *
4    * A Project.
5    */
6   package net.sf.mindoro.model;
7   
8   import java.util.Set;
9   
10  /***
11   * A Project.
12   * 
13   * @author aisrael
14   * @hibernate.class table="project"
15   */
16  public class Project {
17  
18      private Long id;
19  
20      private String name;
21  
22      private String description;
23  
24      private Set deliverables;
25      
26      /***
27       * @return Returns the id.
28       * @hibernate.id column="id" generator-class="native"
29       */
30      public final Long getId() {
31          return this.id;
32      }
33  
34      /***
35       * @param id
36       *            The id to set.
37       */
38      public final void setId(final Long id) {
39          this.id = id;
40      }
41  
42      /***
43       * @return Returns the name.
44       * @hibernate.property column="name" length="80" not-null="true"
45       */
46      public final String getName() {
47          return this.name;
48      }
49  
50      /***
51       * @param name
52       *            The name to set.
53       */
54      public final void setName(final String name) {
55          this.name = name;
56      }
57  
58      /***
59       * @return Returns the description.
60       * @hibernate.property column="description" type="text" not-null="false"
61       */
62      public final String getDescription() {
63          return this.description;
64      }
65  
66      /***
67       * @param description
68       *            The description to set.
69       */
70      public final void setDescription(final String description) {
71          this.description = description;
72      }
73  
74      /***
75       * @return Returns the deliverables.
76       * @hibernate.collection-one-to-many class="net.sf.mindoro.model.Deliverable" 
77       */
78      public final Set getDeliverables() {
79          return this.deliverables;
80      }
81  
82      /***
83       * @param deliverables
84       *            The deliverables to set.
85       */
86      public final void setDeliverables(final Set deliverables) {
87          this.deliverables = deliverables;
88      }
89  }