BrightSide Workbench Full Report + Source Code
org.turro.contacts.Acceptance Class Reference
Inheritance diagram for org.turro.contacts.Acceptance:
Collaboration diagram for org.turro.contacts.Acceptance:

Public Member Functions

String getAcceptanceComment ()
 
void setAcceptanceComment (String acceptanceComment)
 
Contact getContact ()
 
void setContact (Contact contact)
 
Date getDateAcceptance ()
 
void setDateAcceptance (Date dateAcceptance)
 
Date getDateRequest ()
 
void setDateRequest (Date dateRequest)
 
String getId ()
 
void setId (String id)
 
String getPath ()
 
void setPath (String path)
 
Contact getPetitioner ()
 
void setPetitioner (Contact petitioner)
 
IContact getIContact ()
 
void setIContact (IContact icontact)
 
IContact getIPetitioner ()
 
void setIPetitioner (IContact icontact)
 
String getString ()
 
IElephantEntity getEntity ()
 

Detailed Description

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

Definition at line 35 of file Acceptance.java.

Member Function Documentation

◆ getAcceptanceComment()

String org.turro.contacts.Acceptance.getAcceptanceComment ( )

Implements org.turro.action.IAcceptance.

Definition at line 64 of file Acceptance.java.

64  {
65  return acceptanceComment;
66  }
Here is the caller graph for this function:

◆ getContact()

Contact org.turro.contacts.Acceptance.getContact ( )

Definition at line 73 of file Acceptance.java.

73  {
74  return contact;
75  }
Here is the caller graph for this function:

◆ getDateAcceptance()

Date org.turro.contacts.Acceptance.getDateAcceptance ( )

Implements org.turro.action.IAcceptance.

Definition at line 82 of file Acceptance.java.

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

◆ getDateRequest()

Date org.turro.contacts.Acceptance.getDateRequest ( )

Implements org.turro.action.IAcceptance.

Definition at line 92 of file Acceptance.java.

92  {
93  return dateRequest;
94  }
Here is the caller graph for this function:

◆ getEntity()

IElephantEntity org.turro.contacts.Acceptance.getEntity ( )

Implements org.turro.action.IAcceptance.

Definition at line 165 of file Acceptance.java.

165  {
166  return Entities.getController(path);
167  }
Here is the call graph for this function:

◆ getIContact()

IContact org.turro.contacts.Acceptance.getIContact ( )

Implements org.turro.action.IAcceptance.

Definition at line 132 of file Acceptance.java.

132  {
133  return Contacts.getContact(contact);
134  }
Here is the call graph for this function:

◆ getId()

String org.turro.contacts.Acceptance.getId ( )

Implements org.turro.action.IAcceptance.

Definition at line 102 of file Acceptance.java.

102  {
103  return id;
104  }
Here is the caller graph for this function:

◆ getIPetitioner()

IContact org.turro.contacts.Acceptance.getIPetitioner ( )

Implements org.turro.action.IAcceptance.

Definition at line 144 of file Acceptance.java.

144  {
145  return Contacts.getContact(petitioner);
146  }
Here is the call graph for this function:

◆ getPath()

String org.turro.contacts.Acceptance.getPath ( )

Implements org.turro.action.IAcceptance.

Definition at line 112 of file Acceptance.java.

112  {
113  return path;
114  }
Here is the caller graph for this function:

◆ getPetitioner()

Contact org.turro.contacts.Acceptance.getPetitioner ( )

Definition at line 121 of file Acceptance.java.

121  {
122  return petitioner;
123  }
Here is the caller graph for this function:

◆ getString()

String org.turro.contacts.Acceptance.getString ( )

Definition at line 155 of file Acceptance.java.

155  {
156  if(dateAcceptance != null) {
157  return getContact().getName() + " " + I_.get("Accepted");
158  } else {
159  return I_.format("%s requires acceptation from %s",
160  getPetitioner().getName(), getContact().getName());
161  }
162  }
Here is the call graph for this function:

◆ setAcceptanceComment()

void org.turro.contacts.Acceptance.setAcceptanceComment ( String  acceptanceComment)

Implements org.turro.action.IAcceptance.

Definition at line 69 of file Acceptance.java.

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

◆ setContact()

void org.turro.contacts.Acceptance.setContact ( Contact  contact)

Definition at line 77 of file Acceptance.java.

77  {
78  this.contact = contact;
79  }

◆ setDateAcceptance()

void org.turro.contacts.Acceptance.setDateAcceptance ( Date  dateAcceptance)

Implements org.turro.action.IAcceptance.

Definition at line 87 of file Acceptance.java.

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

◆ setDateRequest()

void org.turro.contacts.Acceptance.setDateRequest ( Date  dateRequest)

Implements org.turro.action.IAcceptance.

Definition at line 97 of file Acceptance.java.

97  {
98  this.dateRequest = dateRequest;
99  }

◆ setIContact()

void org.turro.contacts.Acceptance.setIContact ( IContact  icontact)

Implements org.turro.action.IAcceptance.

Definition at line 137 of file Acceptance.java.

137  {
138  if(icontact != null && icontact.isValid()) {
139  contact = (Contact) icontact.getContact();
140  }
141  }
Here is the call graph for this function:

◆ setId()

void org.turro.contacts.Acceptance.setId ( String  id)

Implements org.turro.action.IAcceptance.

Definition at line 107 of file Acceptance.java.

107  {
108  this.id = id;
109  }

◆ setIPetitioner()

void org.turro.contacts.Acceptance.setIPetitioner ( IContact  icontact)

Implements org.turro.action.IAcceptance.

Definition at line 149 of file Acceptance.java.

149  {
150  if(icontact != null && icontact.isValid()) {
151  petitioner = (Contact) icontact.getContact();
152  }
153  }
Here is the call graph for this function:

◆ setPath()

void org.turro.contacts.Acceptance.setPath ( String  path)

Implements org.turro.action.IAcceptance.

Definition at line 117 of file Acceptance.java.

117  {
118  this.path = path;
119  }

◆ setPetitioner()

void org.turro.contacts.Acceptance.setPetitioner ( Contact  petitioner)

Definition at line 125 of file Acceptance.java.

125  {
126  this.petitioner = petitioner;
127  }

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