BrightSide Workbench Full Report + Source Code
org.turro.elephant.entities.db.AgreementSignature Class Reference
Inheritance diagram for org.turro.elephant.entities.db.AgreementSignature:
Collaboration diagram for org.turro.elephant.entities.db.AgreementSignature:

Public Member Functions

Long getId ()
 
void setId (Long id)
 
String getIdContact ()
 
void setIdContact (String idContact)
 
Agreement getAgreement ()
 
void setAgreement (Agreement agreement)
 
Date getSignedDate ()
 
void setSignedDate (Date signedDate)
 
boolean isAgreed ()
 
void setAgreed (boolean agreed)
 
int getSentCount ()
 
void setSentCount (int sentCount)
 
IContact getContact ()
 
boolean isSigned ()
 
boolean doesAgree ()
 
boolean shouldSend ()
 

Detailed Description

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

Definition at line 38 of file AgreementSignature.java.

Member Function Documentation

◆ doesAgree()

boolean org.turro.elephant.entities.db.AgreementSignature.doesAgree ( )

Definition at line 116 of file AgreementSignature.java.

116  {
117  return (signedDate != null) && agreed;
118  }
Here is the caller graph for this function:

◆ getAgreement()

Agreement org.turro.elephant.entities.db.AgreementSignature.getAgreement ( )

Definition at line 74 of file AgreementSignature.java.

74  {
75  return agreement;
76  }
Here is the caller graph for this function:

◆ getContact()

IContact org.turro.elephant.entities.db.AgreementSignature.getContact ( )

Definition at line 108 of file AgreementSignature.java.

108  {
109  return Contacts.getContactById(idContact);
110  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getId()

Long org.turro.elephant.entities.db.AgreementSignature.getId ( )

Definition at line 58 of file AgreementSignature.java.

58  {
59  return id;
60  }
Here is the caller graph for this function:

◆ getIdContact()

String org.turro.elephant.entities.db.AgreementSignature.getIdContact ( )

Definition at line 66 of file AgreementSignature.java.

66  {
67  return idContact;
68  }
Here is the caller graph for this function:

◆ getSentCount()

int org.turro.elephant.entities.db.AgreementSignature.getSentCount ( )

Definition at line 98 of file AgreementSignature.java.

98  {
99  return sentCount;
100  }

◆ getSignedDate()

Date org.turro.elephant.entities.db.AgreementSignature.getSignedDate ( )

Definition at line 82 of file AgreementSignature.java.

82  {
83  return signedDate;
84  }
Here is the caller graph for this function:

◆ isAgreed()

boolean org.turro.elephant.entities.db.AgreementSignature.isAgreed ( )

Definition at line 90 of file AgreementSignature.java.

90  {
91  return agreed;
92  }
Here is the caller graph for this function:

◆ isSigned()

boolean org.turro.elephant.entities.db.AgreementSignature.isSigned ( )

Definition at line 112 of file AgreementSignature.java.

112  {
113  return (signedDate != null);
114  }
Here is the caller graph for this function:

◆ setAgreed()

void org.turro.elephant.entities.db.AgreementSignature.setAgreed ( boolean  agreed)

Definition at line 94 of file AgreementSignature.java.

94  {
95  this.agreed = agreed;
96  }
Here is the caller graph for this function:

◆ setAgreement()

void org.turro.elephant.entities.db.AgreementSignature.setAgreement ( Agreement  agreement)

Definition at line 78 of file AgreementSignature.java.

78  {
79  this.agreement = agreement;
80  }
Here is the caller graph for this function:

◆ setId()

void org.turro.elephant.entities.db.AgreementSignature.setId ( Long  id)

Definition at line 62 of file AgreementSignature.java.

62  {
63  this.id = id;
64  }

◆ setIdContact()

void org.turro.elephant.entities.db.AgreementSignature.setIdContact ( String  idContact)

Definition at line 70 of file AgreementSignature.java.

70  {
71  this.idContact = idContact;
72  }
Here is the caller graph for this function:

◆ setSentCount()

void org.turro.elephant.entities.db.AgreementSignature.setSentCount ( int  sentCount)

Definition at line 102 of file AgreementSignature.java.

102  {
103  this.sentCount = sentCount;
104  }
Here is the caller graph for this function:

◆ setSignedDate()

void org.turro.elephant.entities.db.AgreementSignature.setSignedDate ( Date  signedDate)

Definition at line 86 of file AgreementSignature.java.

86  {
87  this.signedDate = signedDate;
88  }
Here is the caller graph for this function:

◆ shouldSend()

boolean org.turro.elephant.entities.db.AgreementSignature.shouldSend ( )

Definition at line 120 of file AgreementSignature.java.

120  {
121  return sentCount == 0 || ((sentCount < 10) && agreement.isPeremptory());
122  }

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