BrightSide Workbench Full Report + Source Code
IssueCommentStub.java
Go to the documentation of this file.
1 /*
2  * TurrĂ³ i Cutiller Foundation. License notice.
3  * Copyright (C) 2022 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.stub;
20 
21 import java.util.Date;
22 import org.turro.dossier.entity.IssueComment;
23 import org.turro.reflection.stub.DefaultStub;
24 
29 public class IssueCommentStub extends DefaultStub {
30 
31  private String idContact, participantName;
32  private String comment;
33  private Date modification;
34  private double expenses, hours, price;
35  private boolean processed = false;
36 
37  public IssueCommentStub(IssueComment issueComment) {
38  silentlyInitializeValues(issueComment);
39  }
40 
41  public String getIdContact() {
42  return idContact;
43  }
44 
45  public void setIdContact(String idContact) {
46  this.idContact = idContact;
47  }
48 
49  public String getParticipantName() {
50  return participantName;
51  }
52 
53  public void setParticipantName(String participantName) {
54  this.participantName = participantName;
55  }
56 
57  public String getComment() {
58  return comment;
59  }
60 
61  public void setComment(String comment) {
62  this.comment = comment;
63  }
64 
65  public Date getModification() {
66  return modification;
67  }
68 
69  public void setModification(Date modification) {
70  this.modification = modification;
71  }
72 
73  public double getExpenses() {
74  return expenses;
75  }
76 
77  public void setExpenses(double expenses) {
78  this.expenses = expenses;
79  }
80 
81  public double getHours() {
82  return hours;
83  }
84 
85  public void setHours(double hours) {
86  this.hours = hours;
87  }
88 
89  public double getPrice() {
90  return price;
91  }
92 
93  public void setPrice(double price) {
94  this.price = price;
95  }
96 
97  public boolean isProcessed() {
98  return processed;
99  }
100 
101  public void setProcessed(boolean processed) {
102  this.processed = processed;
103  }
104 
105 }
void setParticipantName(String participantName)
IssueCommentStub(IssueComment issueComment)