BrightSide Workbench Full Report + Source Code
DWIssue.java
Go to the documentation of this file.
1 /*
2  * TurrĂ³ i Cutiller Foundation. License notice.
3  * Copyright (C) 2015 Lluis TurrĂ³ Cutiller <http://www.turro.org/>
4  *
5  * This program is free software: you can redistribute it and/or modify
6  * it under the terms of the GNU Affero General Public License as published by
7  * the Free Software Foundation, either version 3 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU Affero General Public License for more details.
14  *
15  * You should have received a copy of the GNU Affero General Public License
16  * along with this program. If not, see <http://www.gnu.org/licenses/>.
17  */
18 
19 package org.turro.dossier.dw;
20 
21 import java.util.Date;
22 import javax.persistence.Column;
23 import javax.persistence.Entity;
24 import javax.persistence.GeneratedValue;
25 import javax.persistence.GenerationType;
26 import javax.persistence.Id;
27 import javax.persistence.Temporal;
28 import javax.persistence.TemporalType;
29 import org.turro.dossier.entity.IssueParticipantRole;
30 import org.turro.dossier.entity.IssuePriority;
31 import org.turro.dossier.entity.IssueResolution;
32 import org.turro.dossier.entity.IssueStatus;
33 import org.turro.dossier.entity.IssueType;
34 
39 @Entity
40 public class DWIssue implements java.io.Serializable {
41 
42  @Id
43  @GeneratedValue(strategy=GenerationType.IDENTITY)
44  @Column(name="IDENTIFIER")
45  private Long id;
46 
47  private Long issueId, dossierId, versionId;
48 
49  @Temporal(value = TemporalType.TIMESTAMP)
50  private java.util.Date startDate, solvedDate;
51 
52  private String description, participantId, categoryPath;
53 
54  private IssueParticipantRole participantRole;
55  private IssueType type;
56  private IssuePriority priority;
57  private IssueStatus status;
58  private IssueResolution resolution;
59 
60  private long commentCount;
61 
62  private double pexpenses, phours, pprice, rexpenses, rhours, rprice;
63 
64  public Long getId() {
65  return id;
66  }
67 
68  public void setId(Long id) {
69  this.id = id;
70  }
71 
72  public Long getIssueId() {
73  return issueId;
74  }
75 
76  public void setIssueId(Long issueId) {
77  this.issueId = issueId;
78  }
79 
80  public Long getDossierId() {
81  return dossierId;
82  }
83 
84  public void setDossierId(Long dossierId) {
85  this.dossierId = dossierId;
86  }
87 
88  public Long getVersionId() {
89  return versionId;
90  }
91 
92  public void setVersionId(Long versionId) {
93  this.versionId = versionId;
94  }
95 
96  public Date getStartDate() {
97  return startDate;
98  }
99 
100  public void setStartDate(Date startDate) {
101  this.startDate = startDate;
102  }
103 
104  public Date getSolvedDate() {
105  return solvedDate;
106  }
107 
108  public void setSolvedDate(Date solvedDate) {
109  this.solvedDate = solvedDate;
110  }
111 
112  public String getDescription() {
113  return description;
114  }
115 
116  public void setDescription(String description) {
117  this.description = description;
118  }
119 
120  public String getParticipantId() {
121  return participantId;
122  }
123 
124  public void setParticipantId(String participantId) {
125  this.participantId = participantId;
126  }
127 
128  public String getCategoryPath() {
129  return categoryPath;
130  }
131 
132  public void setCategoryPath(String categoryPath) {
133  this.categoryPath = categoryPath;
134  }
135 
137  return participantRole;
138  }
139 
140  public void setParticipantRole(IssueParticipantRole participantRole) {
141  this.participantRole = participantRole;
142  }
143 
144  public IssueType getType() {
145  return type;
146  }
147 
148  public void setType(IssueType type) {
149  this.type = type;
150  }
151 
153  return priority;
154  }
155 
156  public void setPriority(IssuePriority priority) {
157  this.priority = priority;
158  }
159 
161  return status;
162  }
163 
164  public void setStatus(IssueStatus status) {
165  this.status = status;
166  }
167 
169  return resolution;
170  }
171 
172  public void setResolution(IssueResolution resolution) {
173  this.resolution = resolution;
174  }
175 
176  public long getCommentCount() {
177  return commentCount;
178  }
179 
180  public void setCommentCount(long commentCount) {
181  this.commentCount = commentCount;
182  }
183 
184  public double getPexpenses() {
185  return pexpenses;
186  }
187 
188  public void setPexpenses(double pexpenses) {
189  this.pexpenses = pexpenses;
190  }
191 
192  public double getPhours() {
193  return phours;
194  }
195 
196  public void setPhours(double phours) {
197  this.phours = phours;
198  }
199 
200  public double getPprice() {
201  return pprice;
202  }
203 
204  public void setPprice(double pprice) {
205  this.pprice = pprice;
206  }
207 
208  public double getRexpenses() {
209  return rexpenses;
210  }
211 
212  public void setRexpenses(double rexpenses) {
213  this.rexpenses = rexpenses;
214  }
215 
216  public double getRhours() {
217  return rhours;
218  }
219 
220  public void setRhours(double rhours) {
221  this.rhours = rhours;
222  }
223 
224  public double getRprice() {
225  return rprice;
226  }
227 
228  public void setRprice(double rprice) {
229  this.rprice = rprice;
230  }
231 
232 }
IssueParticipantRole getParticipantRole()
Definition: DWIssue.java:136
void setPriority(IssuePriority priority)
Definition: DWIssue.java:156
void setRexpenses(double rexpenses)
Definition: DWIssue.java:212
void setRprice(double rprice)
Definition: DWIssue.java:228
void setStartDate(Date startDate)
Definition: DWIssue.java:100
void setCommentCount(long commentCount)
Definition: DWIssue.java:180
void setPexpenses(double pexpenses)
Definition: DWIssue.java:188
void setStatus(IssueStatus status)
Definition: DWIssue.java:164
void setSolvedDate(Date solvedDate)
Definition: DWIssue.java:108
void setType(IssueType type)
Definition: DWIssue.java:148
void setPhours(double phours)
Definition: DWIssue.java:196
IssuePriority getPriority()
Definition: DWIssue.java:152
void setRhours(double rhours)
Definition: DWIssue.java:220
void setParticipantId(String participantId)
Definition: DWIssue.java:124
void setResolution(IssueResolution resolution)
Definition: DWIssue.java:172
void setPprice(double pprice)
Definition: DWIssue.java:204
void setIssueId(Long issueId)
Definition: DWIssue.java:76
IssueResolution getResolution()
Definition: DWIssue.java:168
void setDossierId(Long dossierId)
Definition: DWIssue.java:84
void setParticipantRole(IssueParticipantRole participantRole)
Definition: DWIssue.java:140
void setDescription(String description)
Definition: DWIssue.java:116
void setCategoryPath(String categoryPath)
Definition: DWIssue.java:132
void setVersionId(Long versionId)
Definition: DWIssue.java:92