BrightSide Workbench Full Report + Source Code
ContractParticipantStub.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.financials.stub;
20 
21 import org.turro.financials.entity.ContractInterventionType;
22 import org.turro.financials.entity.ContractParticipant;
23 import org.turro.reflection.stub.DefaultStub;
24 
29 public class ContractParticipantStub extends DefaultStub {
30 
31  private String name;
32  private String idContact;
33  private ContractInterventionType interventionType;
34  private boolean sendDocuments, showDocuments, showBalance, signature;
35 
36  public ContractParticipantStub(ContractParticipant contractParticipant) {
37  silentlyInitializeValues(contractParticipant);
38  }
39 
40  public String getName() {
41  return name;
42  }
43 
44  public void setName(String name) {
45  this.name = name;
46  }
47 
48  public String getIdContact() {
49  return idContact;
50  }
51 
52  public void setIdContact(String idContact) {
53  this.idContact = idContact;
54  }
55 
57  return interventionType;
58  }
59 
60  public void setInterventionType(ContractInterventionType interventionType) {
61  this.interventionType = interventionType;
62  }
63 
64  public boolean isSendDocuments() {
65  return sendDocuments;
66  }
67 
68  public void setSendDocuments(boolean sendDocuments) {
69  this.sendDocuments = sendDocuments;
70  }
71 
72  public boolean isShowDocuments() {
73  return showDocuments;
74  }
75 
76  public void setShowDocuments(boolean showDocuments) {
77  this.showDocuments = showDocuments;
78  }
79 
80  public boolean isShowBalance() {
81  return showBalance;
82  }
83 
84  public void setShowBalance(boolean showBalance) {
85  this.showBalance = showBalance;
86  }
87 
88  public boolean isSignature() {
89  return signature;
90  }
91 
92  public void setSignature(boolean signature) {
93  this.signature = signature;
94  }
95 
96 }
ContractParticipantStub(ContractParticipant contractParticipant)
void setInterventionType(ContractInterventionType interventionType)