BrightSide Workbench Full Report + Source Code
ParticipantStub.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.Participant;
23 import org.turro.dossier.entity.ParticipantRole;
24 import org.turro.reflection.stub.DefaultStub;
25 
30 public class ParticipantStub extends DefaultStub {
31 
32  private Date creation;
33  private String name;
34  private String idContact;
35  private ParticipantRole role;
36  private String discriminator;
37  private boolean showAllAttachments, showParticipants, showAllIssues, receiveAllEmails, bindingVote,
38  driver, coordinator, beneficiary, offerer, research, funding, support, consortium, admin;
39 
40  public ParticipantStub(Participant participant) {
41  silentlyInitializeValues(participant);
42  }
43 
44  public Date getCreation() {
45  return creation;
46  }
47 
48  public void setCreation(Date creation) {
49  this.creation = creation;
50  }
51 
52  public String getName() {
53  return name;
54  }
55 
56  public void setName(String name) {
57  this.name = name;
58  }
59 
60  public String getIdContact() {
61  return idContact;
62  }
63 
64  public void setIdContact(String idContact) {
65  this.idContact = idContact;
66  }
67 
69  return role;
70  }
71 
72  public void setRole(ParticipantRole role) {
73  this.role = role;
74  }
75 
76  public String getDiscriminator() {
77  return discriminator;
78  }
79 
80  public void setDiscriminator(String discriminator) {
81  this.discriminator = discriminator;
82  }
83 
84  public boolean isShowAllAttachments() {
85  return showAllAttachments;
86  }
87 
88  public void setShowAllAttachments(boolean showAllAttachments) {
89  this.showAllAttachments = showAllAttachments;
90  }
91 
92  public boolean isShowParticipants() {
93  return showParticipants;
94  }
95 
96  public void setShowParticipants(boolean showParticipants) {
97  this.showParticipants = showParticipants;
98  }
99 
100  public boolean isShowAllIssues() {
101  return showAllIssues;
102  }
103 
104  public void setShowAllIssues(boolean showAllIssues) {
105  this.showAllIssues = showAllIssues;
106  }
107 
108  public boolean isReceiveAllEmails() {
109  return receiveAllEmails;
110  }
111 
112  public void setReceiveAllEmails(boolean receiveAllEmails) {
113  this.receiveAllEmails = receiveAllEmails;
114  }
115 
116  public boolean isBindingVote() {
117  return bindingVote;
118  }
119 
120  public void setBindingVote(boolean bindingVote) {
121  this.bindingVote = bindingVote;
122  }
123 
124  public boolean isDriver() {
125  return driver;
126  }
127 
128  public void setDriver(boolean driver) {
129  this.driver = driver;
130  }
131 
132  public boolean isCoordinator() {
133  return coordinator;
134  }
135 
136  public void setCoordinator(boolean coordinator) {
137  this.coordinator = coordinator;
138  }
139 
140  public boolean isBeneficiary() {
141  return beneficiary;
142  }
143 
144  public void setBeneficiary(boolean beneficiary) {
145  this.beneficiary = beneficiary;
146  }
147 
148  public boolean isOfferer() {
149  return offerer;
150  }
151 
152  public void setOfferer(boolean offerer) {
153  this.offerer = offerer;
154  }
155 
156  public boolean isResearch() {
157  return research;
158  }
159 
160  public void setResearch(boolean research) {
161  this.research = research;
162  }
163 
164  public boolean isFunding() {
165  return funding;
166  }
167 
168  public void setFunding(boolean funding) {
169  this.funding = funding;
170  }
171 
172  public boolean isSupport() {
173  return support;
174  }
175 
176  public void setSupport(boolean support) {
177  this.support = support;
178  }
179 
180  public boolean isConsortium() {
181  return consortium;
182  }
183 
184  public void setConsortium(boolean consortium) {
185  this.consortium = consortium;
186  }
187 
188  public boolean isAdmin() {
189  return admin;
190  }
191 
192  public void setAdmin(boolean admin) {
193  this.admin = admin;
194  }
195 
196 }
void setShowParticipants(boolean showParticipants)
void setDiscriminator(String discriminator)
void setBindingVote(boolean bindingVote)
void setBeneficiary(boolean beneficiary)
void setRole(ParticipantRole role)
void setReceiveAllEmails(boolean receiveAllEmails)
void setShowAllAttachments(boolean showAllAttachments)
void setShowAllIssues(boolean showAllIssues)
ParticipantStub(Participant participant)
void setCoordinator(boolean coordinator)