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

Public Member Functions

Long getId ()
 
void setId (Long id)
 
String getTitle ()
 
void setTitle (String title)
 
Wiki getGoal ()
 
void setGoal (Wiki goal)
 
Date getEndDate ()
 
void setEndDate (Date endDate)
 
boolean isRecurrent ()
 
void setRecurrent (boolean recurrent)
 
boolean isEndOfBudget ()
 
void setEndOfBudget (boolean endOfBudget)
 
Wiki getDeadline ()
 
void setDeadline (Wiki deadline)
 
boolean isMicro ()
 
void setMicro (boolean micro)
 
boolean isSmall ()
 
void setSmall (boolean small)
 
boolean isMedium ()
 
void setMedium (boolean medium)
 
boolean isBig ()
 
void setBig (boolean big)
 
boolean isOtherOrgs ()
 
void setOtherOrgs (boolean otherOrgs)
 
Wiki getBeneficiaries ()
 
void setBeneficiaries (Wiki beneficiaries)
 
double getBudget ()
 
void setBudget (double budget)
 
GrantMatchCriteria getMatchCriteria ()
 
void setMatchCriteria (GrantMatchCriteria matchCriteria)
 
Wiki getElegible ()
 
void setElegible (Wiki elegible)
 
boolean isSubvention ()
 
void setSubvention (boolean subvention)
 
boolean isLoan ()
 
void setLoan (boolean loan)
 
boolean isInKind ()
 
void setInKind (boolean inKind)
 
boolean isCollaboration ()
 
void setCollaboration (boolean collaboration)
 
Wiki getFeatures ()
 
void setFeatures (Wiki features)
 
Wiki getIntensity ()
 
void setIntensity (Wiki intensity)
 
boolean isMinimis ()
 
void setMinimis (boolean minimis)
 
String getSource ()
 
void setSource (String source)
 
String getConvocation ()
 
void setConvocation (String convocation)
 
String getBasis ()
 
void setBasis (String basis)
 
Object entityId ()
 
boolean isEmpty ()
 
String getName ()
 
String getDescription ()
 
boolean isCompanyType ()
 
boolean isActive ()
 
List< IElephantEntitygetGrantMatches ()
 
- 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 44 of file ProjectGrant.java.

Member Function Documentation

◆ entityId()

Object org.turro.dossier.entity.ProjectGrant.entityId ( )

Implements org.turro.jpa.entity.IDaoEntity.

Definition at line 327 of file ProjectGrant.java.

327  {
328  return id;
329  }

◆ getBasis()

String org.turro.dossier.entity.ProjectGrant.getBasis ( )

Definition at line 316 of file ProjectGrant.java.

316  {
317  return basis;
318  }
Here is the caller graph for this function:

◆ getBeneficiaries()

Wiki org.turro.dossier.entity.ProjectGrant.getBeneficiaries ( )

Definition at line 212 of file ProjectGrant.java.

212  {
213  return beneficiaries;
214  }
Here is the caller graph for this function:

◆ getBudget()

double org.turro.dossier.entity.ProjectGrant.getBudget ( )

Definition at line 220 of file ProjectGrant.java.

220  {
221  return budget;
222  }
Here is the caller graph for this function:

◆ getConvocation()

String org.turro.dossier.entity.ProjectGrant.getConvocation ( )

Definition at line 308 of file ProjectGrant.java.

308  {
309  return convocation;
310  }
Here is the caller graph for this function:

◆ getDeadline()

Wiki org.turro.dossier.entity.ProjectGrant.getDeadline ( )

Definition at line 164 of file ProjectGrant.java.

164  {
165  return deadline;
166  }
Here is the caller graph for this function:

◆ getDescription()

String org.turro.dossier.entity.ProjectGrant.getDescription ( )

Definition at line 349 of file ProjectGrant.java.

349  {
350  return goal == null ? "!***" : HtmlContent.plain(goal.getText(), 500);
351  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getElegible()

Wiki org.turro.dossier.entity.ProjectGrant.getElegible ( )

Definition at line 236 of file ProjectGrant.java.

236  {
237  return elegible;
238  }
Here is the caller graph for this function:

◆ getEndDate()

Date org.turro.dossier.entity.ProjectGrant.getEndDate ( )

Definition at line 140 of file ProjectGrant.java.

140  {
141  return endDate;
142  }
Here is the caller graph for this function:

◆ getFeatures()

Wiki org.turro.dossier.entity.ProjectGrant.getFeatures ( )

Definition at line 276 of file ProjectGrant.java.

276  {
277  return features;
278  }
Here is the caller graph for this function:

◆ getGoal()

Wiki org.turro.dossier.entity.ProjectGrant.getGoal ( )

Definition at line 132 of file ProjectGrant.java.

132  {
133  return goal;
134  }
Here is the caller graph for this function:

◆ getGrantMatches()

List<IElephantEntity> org.turro.dossier.entity.ProjectGrant.getGrantMatches ( )

Definition at line 361 of file ProjectGrant.java.

361  {
362  return matchCriteria != null ? matchCriteria.getMatchingsForProjectGrant(id) : null;
363  }
List< IElephantEntity > getMatchingsForProjectGrant(Long projectGrantId)

◆ getId()

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

Definition at line 116 of file ProjectGrant.java.

116  {
117  return id;
118  }
Here is the caller graph for this function:

◆ getIntensity()

Wiki org.turro.dossier.entity.ProjectGrant.getIntensity ( )

Definition at line 284 of file ProjectGrant.java.

284  {
285  return intensity;
286  }
Here is the caller graph for this function:

◆ getMatchCriteria()

GrantMatchCriteria org.turro.dossier.entity.ProjectGrant.getMatchCriteria ( )

Definition at line 228 of file ProjectGrant.java.

228  {
229  return matchCriteria;
230  }
Here is the caller graph for this function:

◆ getName()

String org.turro.dossier.entity.ProjectGrant.getName ( )

Definition at line 345 of file ProjectGrant.java.

345  {
346  return title == null ? "!***" : title;
347  }
Here is the caller graph for this function:

◆ getSource()

String org.turro.dossier.entity.ProjectGrant.getSource ( )

Definition at line 300 of file ProjectGrant.java.

300  {
301  return source;
302  }
Here is the caller graph for this function:

◆ getTitle()

String org.turro.dossier.entity.ProjectGrant.getTitle ( )

Definition at line 124 of file ProjectGrant.java.

124  {
125  return title;
126  }
Here is the caller graph for this function:

◆ isActive()

boolean org.turro.dossier.entity.ProjectGrant.isActive ( )

Definition at line 357 of file ProjectGrant.java.

357  {
358  return endDate == null || endDate.toInstant().isAfter(Instant.now());
359  }

◆ isBig()

boolean org.turro.dossier.entity.ProjectGrant.isBig ( )

Definition at line 196 of file ProjectGrant.java.

196  {
197  return big;
198  }
Here is the caller graph for this function:

◆ isCollaboration()

boolean org.turro.dossier.entity.ProjectGrant.isCollaboration ( )

Definition at line 268 of file ProjectGrant.java.

268  {
269  return collaboration;
270  }
Here is the caller graph for this function:

◆ isCompanyType()

boolean org.turro.dossier.entity.ProjectGrant.isCompanyType ( )

Definition at line 353 of file ProjectGrant.java.

353  {
354  return micro | small | medium | big;
355  }

◆ isEmpty()

boolean org.turro.dossier.entity.ProjectGrant.isEmpty ( )

Implements org.turro.jpa.entity.IDaoEntity.

Definition at line 332 of file ProjectGrant.java.

332  {
333  if(goal == null) goal = new Wiki();
334  if(deadline == null) deadline = new Wiki();
335  if(beneficiaries == null) beneficiaries = new Wiki();
336  if(elegible == null) elegible = new Wiki();
337  if(features == null) features = new Wiki();
338  if(intensity == null) intensity = new Wiki();
339  if(matchCriteria == null) matchCriteria = new GrantMatchCriteria();
340  return Strings.isBlank(title) || goal.isEmpty();
341  }
Here is the call graph for this function:

◆ isEndOfBudget()

boolean org.turro.dossier.entity.ProjectGrant.isEndOfBudget ( )

Definition at line 156 of file ProjectGrant.java.

156  {
157  return endOfBudget;
158  }
Here is the caller graph for this function:

◆ isInKind()

boolean org.turro.dossier.entity.ProjectGrant.isInKind ( )

Definition at line 260 of file ProjectGrant.java.

260  {
261  return inKind;
262  }
Here is the caller graph for this function:

◆ isLoan()

boolean org.turro.dossier.entity.ProjectGrant.isLoan ( )

Definition at line 252 of file ProjectGrant.java.

252  {
253  return loan;
254  }
Here is the caller graph for this function:

◆ isMedium()

boolean org.turro.dossier.entity.ProjectGrant.isMedium ( )

Definition at line 188 of file ProjectGrant.java.

188  {
189  return medium;
190  }
Here is the caller graph for this function:

◆ isMicro()

boolean org.turro.dossier.entity.ProjectGrant.isMicro ( )

Definition at line 172 of file ProjectGrant.java.

172  {
173  return micro;
174  }
Here is the caller graph for this function:

◆ isMinimis()

boolean org.turro.dossier.entity.ProjectGrant.isMinimis ( )

Definition at line 292 of file ProjectGrant.java.

292  {
293  return minimis;
294  }
Here is the caller graph for this function:

◆ isOtherOrgs()

boolean org.turro.dossier.entity.ProjectGrant.isOtherOrgs ( )

Definition at line 204 of file ProjectGrant.java.

204  {
205  return otherOrgs;
206  }
Here is the caller graph for this function:

◆ isRecurrent()

boolean org.turro.dossier.entity.ProjectGrant.isRecurrent ( )

Definition at line 148 of file ProjectGrant.java.

148  {
149  return recurrent;
150  }
Here is the caller graph for this function:

◆ isSmall()

boolean org.turro.dossier.entity.ProjectGrant.isSmall ( )

Definition at line 180 of file ProjectGrant.java.

180  {
181  return small;
182  }
Here is the caller graph for this function:

◆ isSubvention()

boolean org.turro.dossier.entity.ProjectGrant.isSubvention ( )

Definition at line 244 of file ProjectGrant.java.

244  {
245  return subvention;
246  }
Here is the caller graph for this function:

◆ setBasis()

void org.turro.dossier.entity.ProjectGrant.setBasis ( String  basis)

Definition at line 320 of file ProjectGrant.java.

320  {
321  this.basis = basis;
322  }

◆ setBeneficiaries()

void org.turro.dossier.entity.ProjectGrant.setBeneficiaries ( Wiki  beneficiaries)

Definition at line 216 of file ProjectGrant.java.

216  {
217  this.beneficiaries = beneficiaries;
218  }

◆ setBig()

void org.turro.dossier.entity.ProjectGrant.setBig ( boolean  big)

Definition at line 200 of file ProjectGrant.java.

200  {
201  this.big = big;
202  }

◆ setBudget()

void org.turro.dossier.entity.ProjectGrant.setBudget ( double  budget)

Definition at line 224 of file ProjectGrant.java.

224  {
225  this.budget = budget;
226  }

◆ setCollaboration()

void org.turro.dossier.entity.ProjectGrant.setCollaboration ( boolean  collaboration)

Definition at line 272 of file ProjectGrant.java.

272  {
273  this.collaboration = collaboration;
274  }

◆ setConvocation()

void org.turro.dossier.entity.ProjectGrant.setConvocation ( String  convocation)

Definition at line 312 of file ProjectGrant.java.

312  {
313  this.convocation = convocation;
314  }

◆ setDeadline()

void org.turro.dossier.entity.ProjectGrant.setDeadline ( Wiki  deadline)

Definition at line 168 of file ProjectGrant.java.

168  {
169  this.deadline = deadline;
170  }

◆ setElegible()

void org.turro.dossier.entity.ProjectGrant.setElegible ( Wiki  elegible)

Definition at line 240 of file ProjectGrant.java.

240  {
241  this.elegible = elegible;
242  }

◆ setEndDate()

void org.turro.dossier.entity.ProjectGrant.setEndDate ( Date  endDate)

Definition at line 144 of file ProjectGrant.java.

144  {
145  this.endDate = endDate;
146  }

◆ setEndOfBudget()

void org.turro.dossier.entity.ProjectGrant.setEndOfBudget ( boolean  endOfBudget)

Definition at line 160 of file ProjectGrant.java.

160  {
161  this.endOfBudget = endOfBudget;
162  }

◆ setFeatures()

void org.turro.dossier.entity.ProjectGrant.setFeatures ( Wiki  features)

Definition at line 280 of file ProjectGrant.java.

280  {
281  this.features = features;
282  }

◆ setGoal()

void org.turro.dossier.entity.ProjectGrant.setGoal ( Wiki  goal)

Definition at line 136 of file ProjectGrant.java.

136  {
137  this.goal = goal;
138  }

◆ setId()

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

Definition at line 120 of file ProjectGrant.java.

120  {
121  this.id = id;
122  }

◆ setInKind()

void org.turro.dossier.entity.ProjectGrant.setInKind ( boolean  inKind)

Definition at line 264 of file ProjectGrant.java.

264  {
265  this.inKind = inKind;
266  }

◆ setIntensity()

void org.turro.dossier.entity.ProjectGrant.setIntensity ( Wiki  intensity)

Definition at line 288 of file ProjectGrant.java.

288  {
289  this.intensity = intensity;
290  }

◆ setLoan()

void org.turro.dossier.entity.ProjectGrant.setLoan ( boolean  loan)

Definition at line 256 of file ProjectGrant.java.

256  {
257  this.loan = loan;
258  }

◆ setMatchCriteria()

void org.turro.dossier.entity.ProjectGrant.setMatchCriteria ( GrantMatchCriteria  matchCriteria)

Definition at line 232 of file ProjectGrant.java.

232  {
233  this.matchCriteria = matchCriteria;
234  }

◆ setMedium()

void org.turro.dossier.entity.ProjectGrant.setMedium ( boolean  medium)

Definition at line 192 of file ProjectGrant.java.

192  {
193  this.medium = medium;
194  }

◆ setMicro()

void org.turro.dossier.entity.ProjectGrant.setMicro ( boolean  micro)

Definition at line 176 of file ProjectGrant.java.

176  {
177  this.micro = micro;
178  }

◆ setMinimis()

void org.turro.dossier.entity.ProjectGrant.setMinimis ( boolean  minimis)

Definition at line 296 of file ProjectGrant.java.

296  {
297  this.minimis = minimis;
298  }

◆ setOtherOrgs()

void org.turro.dossier.entity.ProjectGrant.setOtherOrgs ( boolean  otherOrgs)

Definition at line 208 of file ProjectGrant.java.

208  {
209  this.otherOrgs = otherOrgs;
210  }

◆ setRecurrent()

void org.turro.dossier.entity.ProjectGrant.setRecurrent ( boolean  recurrent)

Definition at line 152 of file ProjectGrant.java.

152  {
153  this.recurrent = recurrent;
154  }

◆ setSmall()

void org.turro.dossier.entity.ProjectGrant.setSmall ( boolean  small)

Definition at line 184 of file ProjectGrant.java.

184  {
185  this.small = small;
186  }

◆ setSource()

void org.turro.dossier.entity.ProjectGrant.setSource ( String  source)

Definition at line 304 of file ProjectGrant.java.

304  {
305  this.source = source;
306  }

◆ setSubvention()

void org.turro.dossier.entity.ProjectGrant.setSubvention ( boolean  subvention)

Definition at line 248 of file ProjectGrant.java.

248  {
249  this.subvention = subvention;
250  }

◆ setTitle()

void org.turro.dossier.entity.ProjectGrant.setTitle ( String  title)

Definition at line 128 of file ProjectGrant.java.

128  {
129  this.title = title;
130  }

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