BrightSide Workbench Full Report + Source Code
org.turro.financials.entity.ContractParticipant Class Reference
Inheritance diagram for org.turro.financials.entity.ContractParticipant:
Collaboration diagram for org.turro.financials.entity.ContractParticipant:

Public Member Functions

Contract getContract ()
 
void setContract (Contract contract)
 
Long getId ()
 
void setId (Long id)
 
String getIdContact ()
 
void setIdContact (String idContact)
 
ContractInterventionType getInterventionType ()
 
void setInterventionType (ContractInterventionType interventionType)
 
String getName ()
 
void setName (String name)
 
boolean isSendDocuments ()
 
void setSendDocuments (boolean sendDocuments)
 
boolean isShowBalance ()
 
void setShowBalance (boolean showBalance)
 
boolean isShowDocuments ()
 
void setShowDocuments (boolean showDocuments)
 
boolean isSignature ()
 
void setSignature (boolean signature)
 
Object entityId ()
 
boolean isEmpty ()
 
IContact getIContact ()
 
void setIContact (IContact contact)
 
- Public Member Functions inherited from org.turro.jpa.entity.IDaoEntity
default boolean isNew ()
 
default void prepareSave ()
 
default void prepareDelete ()
 
default void removeEmpties ()
 
default Collection< Collection > collections ()
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 36 of file ContractParticipant.java.

Member Function Documentation

◆ entityId()

Object org.turro.financials.entity.ContractParticipant.entityId ( )

Implements org.turro.jpa.entity.IDaoEntity.

Definition at line 131 of file ContractParticipant.java.

131  {
132  return id;
133  }

◆ getContract()

Contract org.turro.financials.entity.ContractParticipant.getContract ( )

Definition at line 55 of file ContractParticipant.java.

55  {
56  return contract;
57  }
Here is the caller graph for this function:

◆ getIContact()

IContact org.turro.financials.entity.ContractParticipant.getIContact ( )

Definition at line 144 of file ContractParticipant.java.

144  {
145  if(_contact == null) {
146  _contact = Contacts.getContactById(idContact);
147  }
148  return _contact;
149  }
Here is the call graph for this function:

◆ getId()

Long org.turro.financials.entity.ContractParticipant.getId ( )

Definition at line 63 of file ContractParticipant.java.

63  {
64  return id;
65  }

◆ getIdContact()

String org.turro.financials.entity.ContractParticipant.getIdContact ( )

Definition at line 71 of file ContractParticipant.java.

71  {
72  return idContact;
73  }
Here is the caller graph for this function:

◆ getInterventionType()

ContractInterventionType org.turro.financials.entity.ContractParticipant.getInterventionType ( )

Definition at line 80 of file ContractParticipant.java.

80  {
81  return interventionType;
82  }
Here is the caller graph for this function:

◆ getName()

String org.turro.financials.entity.ContractParticipant.getName ( )

Definition at line 88 of file ContractParticipant.java.

88  {
89  return name;
90  }
Here is the caller graph for this function:

◆ isEmpty()

boolean org.turro.financials.entity.ContractParticipant.isEmpty ( )

Implements org.turro.jpa.entity.IDaoEntity.

Definition at line 136 of file ContractParticipant.java.

136  {
137  return contract == null || Strings.isBlank(idContact) || interventionType == null;
138  }

◆ isSendDocuments()

boolean org.turro.financials.entity.ContractParticipant.isSendDocuments ( )

Definition at line 96 of file ContractParticipant.java.

96  {
97  return sendDocuments;
98  }

◆ isShowBalance()

boolean org.turro.financials.entity.ContractParticipant.isShowBalance ( )

Definition at line 104 of file ContractParticipant.java.

104  {
105  return showBalance;
106  }

◆ isShowDocuments()

boolean org.turro.financials.entity.ContractParticipant.isShowDocuments ( )

Definition at line 112 of file ContractParticipant.java.

112  {
113  return showDocuments;
114  }

◆ isSignature()

boolean org.turro.financials.entity.ContractParticipant.isSignature ( )

Definition at line 120 of file ContractParticipant.java.

120  {
121  return signature;
122  }

◆ setContract()

void org.turro.financials.entity.ContractParticipant.setContract ( Contract  contract)

Definition at line 59 of file ContractParticipant.java.

59  {
60  this.contract = contract;
61  }
Here is the caller graph for this function:

◆ setIContact()

void org.turro.financials.entity.ContractParticipant.setIContact ( IContact  contact)

Definition at line 151 of file ContractParticipant.java.

151  {
152  _contact = contact;
153  idContact = _contact != null ? _contact.getId() : null;
154  name = _contact != null ? _contact.getName() : null;
155  }
Here is the call graph for this function:

◆ setId()

void org.turro.financials.entity.ContractParticipant.setId ( Long  id)

Definition at line 67 of file ContractParticipant.java.

67  {
68  this.id = id;
69  }

◆ setIdContact()

void org.turro.financials.entity.ContractParticipant.setIdContact ( String  idContact)

Definition at line 75 of file ContractParticipant.java.

75  {
76  this.idContact = idContact;
77  resetIContact();
78  }

◆ setInterventionType()

void org.turro.financials.entity.ContractParticipant.setInterventionType ( ContractInterventionType  interventionType)

Definition at line 84 of file ContractParticipant.java.

84  {
85  this.interventionType = interventionType;
86  }

◆ setName()

void org.turro.financials.entity.ContractParticipant.setName ( String  name)

Definition at line 92 of file ContractParticipant.java.

92  {
93  this.name = name;
94  }

◆ setSendDocuments()

void org.turro.financials.entity.ContractParticipant.setSendDocuments ( boolean  sendDocuments)

Definition at line 100 of file ContractParticipant.java.

100  {
101  this.sendDocuments = sendDocuments;
102  }

◆ setShowBalance()

void org.turro.financials.entity.ContractParticipant.setShowBalance ( boolean  showBalance)

Definition at line 108 of file ContractParticipant.java.

108  {
109  this.showBalance = showBalance;
110  }

◆ setShowDocuments()

void org.turro.financials.entity.ContractParticipant.setShowDocuments ( boolean  showDocuments)

Definition at line 116 of file ContractParticipant.java.

116  {
117  this.showDocuments = showDocuments;
118  }

◆ setSignature()

void org.turro.financials.entity.ContractParticipant.setSignature ( boolean  signature)

Definition at line 124 of file ContractParticipant.java.

124  {
125  this.signature = signature;
126  }

The documentation for this class was generated from the following file: