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

Public Member Functions

String getComment ()
 
void setComment (String comment)
 
double getExpenses ()
 
void setExpenses (double expenses)
 
double getHours ()
 
void setHours (double hours)
 
Long getId ()
 
void setId (Long id)
 
String getIdContact ()
 
void setIdContact (String idContact)
 
Issue getIssue ()
 
void setIssue (Issue issue)
 
Date getModification ()
 
void setModification (Date modification)
 
String getParticipantName ()
 
void setParticipantName (String participantName)
 
double getPrice ()
 
void setPrice (double price)
 
boolean isProcessed ()
 
void setProcessed (boolean processed)
 
String getHtmlComment ()
 
boolean hasData ()
 
boolean hasExpenses ()
 
boolean hasHours ()
 
boolean hasPrice ()
 
CommentParser getParser ()
 
IContact getIContact ()
 
void setIContact (IContact contact)
 

Detailed Description

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

Definition at line 40 of file IssueComment.java.

Member Function Documentation

◆ getComment()

String org.turro.dossier.entity.IssueComment.getComment ( )

Definition at line 64 of file IssueComment.java.

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

◆ getExpenses()

double org.turro.dossier.entity.IssueComment.getExpenses ( )

Definition at line 72 of file IssueComment.java.

72  {
73  return expenses;
74  }
Here is the caller graph for this function:

◆ getHours()

double org.turro.dossier.entity.IssueComment.getHours ( )

Definition at line 80 of file IssueComment.java.

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

◆ getHtmlComment()

String org.turro.dossier.entity.IssueComment.getHtmlComment ( )

Definition at line 145 of file IssueComment.java.

145  {
146  return StringParser.toHTML(comment);
147  }
Here is the call graph for this function:

◆ getIContact()

IContact org.turro.dossier.entity.IssueComment.getIContact ( )

Definition at line 180 of file IssueComment.java.

180  {
181  if(_contact == null) {
182  _contact = Contacts.getContactById(idContact);
183  }
184  return _contact;
185  }
Here is the call graph for this function:

◆ getId()

Long org.turro.dossier.entity.IssueComment.getId ( )

Definition at line 88 of file IssueComment.java.

88  {
89  return id;
90  }

◆ getIdContact()

String org.turro.dossier.entity.IssueComment.getIdContact ( )

Definition at line 96 of file IssueComment.java.

96  {
97  return idContact;
98  }
Here is the caller graph for this function:

◆ getIssue()

Issue org.turro.dossier.entity.IssueComment.getIssue ( )

Definition at line 105 of file IssueComment.java.

105  {
106  return issue;
107  }
Here is the caller graph for this function:

◆ getModification()

Date org.turro.dossier.entity.IssueComment.getModification ( )

Definition at line 113 of file IssueComment.java.

113  {
114  return modification;
115  }
Here is the caller graph for this function:

◆ getParser()

CommentParser org.turro.dossier.entity.IssueComment.getParser ( )

Definition at line 169 of file IssueComment.java.

169  {
170  if(_parser == null) {
171  _parser = new CommentParser(comment);
172  }
173  return _parser;
174  }

◆ getParticipantName()

String org.turro.dossier.entity.IssueComment.getParticipantName ( )

Definition at line 121 of file IssueComment.java.

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

◆ getPrice()

double org.turro.dossier.entity.IssueComment.getPrice ( )

Definition at line 129 of file IssueComment.java.

129  {
130  return price;
131  }
Here is the caller graph for this function:

◆ hasData()

boolean org.turro.dossier.entity.IssueComment.hasData ( )

Definition at line 151 of file IssueComment.java.

Here is the call graph for this function:

◆ hasExpenses()

boolean org.turro.dossier.entity.IssueComment.hasExpenses ( )

Definition at line 155 of file IssueComment.java.

155  {
156  return expenses != 0;
157  }
Here is the caller graph for this function:

◆ hasHours()

boolean org.turro.dossier.entity.IssueComment.hasHours ( )

Definition at line 159 of file IssueComment.java.

159  {
160  return hours != 0;
161  }
Here is the caller graph for this function:

◆ hasPrice()

boolean org.turro.dossier.entity.IssueComment.hasPrice ( )

Definition at line 163 of file IssueComment.java.

163  {
164  return price != 0;
165  }
Here is the caller graph for this function:

◆ isProcessed()

boolean org.turro.dossier.entity.IssueComment.isProcessed ( )

Definition at line 137 of file IssueComment.java.

137  {
138  return processed;
139  }

◆ setComment()

void org.turro.dossier.entity.IssueComment.setComment ( String  comment)

Definition at line 68 of file IssueComment.java.

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

◆ setExpenses()

void org.turro.dossier.entity.IssueComment.setExpenses ( double  expenses)

Definition at line 76 of file IssueComment.java.

76  {
77  this.expenses = expenses;
78  }
Here is the caller graph for this function:

◆ setHours()

void org.turro.dossier.entity.IssueComment.setHours ( double  hours)

Definition at line 84 of file IssueComment.java.

84  {
85  this.hours = hours;
86  }
Here is the caller graph for this function:

◆ setIContact()

void org.turro.dossier.entity.IssueComment.setIContact ( IContact  contact)

Definition at line 187 of file IssueComment.java.

187  {
188  _contact = contact;
189  idContact = _contact != null ? _contact.getId() : null;
190  participantName = _contact != null ? _contact.getName() : null;
191  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setId()

void org.turro.dossier.entity.IssueComment.setId ( Long  id)

Definition at line 92 of file IssueComment.java.

92  {
93  this.id = id;
94  }

◆ setIdContact()

void org.turro.dossier.entity.IssueComment.setIdContact ( String  idContact)

Definition at line 100 of file IssueComment.java.

100  {
101  this.idContact = idContact;
102  resetIContact();
103  }

◆ setIssue()

void org.turro.dossier.entity.IssueComment.setIssue ( Issue  issue)

Definition at line 109 of file IssueComment.java.

109  {
110  this.issue = issue;
111  }
Here is the caller graph for this function:

◆ setModification()

void org.turro.dossier.entity.IssueComment.setModification ( Date  modification)

Definition at line 117 of file IssueComment.java.

117  {
118  this.modification = modification;
119  }
Here is the caller graph for this function:

◆ setParticipantName()

void org.turro.dossier.entity.IssueComment.setParticipantName ( String  participantName)

Definition at line 125 of file IssueComment.java.

125  {
126  this.participantName = participantName;
127  }

◆ setPrice()

void org.turro.dossier.entity.IssueComment.setPrice ( double  price)

Definition at line 133 of file IssueComment.java.

133  {
134  this.price = price;
135  }
Here is the caller graph for this function:

◆ setProcessed()

void org.turro.dossier.entity.IssueComment.setProcessed ( boolean  processed)

Definition at line 141 of file IssueComment.java.

141  {
142  this.processed = processed;
143  }
Here is the caller graph for this function:

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