◆ entityId()
Object org.turro.students.entities.PracticalWork.entityId |
( |
| ) |
|
◆ getCreation()
Date org.turro.students.entities.PracticalWork.getCreation |
( |
| ) |
|
◆ getEndDate()
Date org.turro.students.entities.PracticalWork.getEndDate |
( |
| ) |
|
◆ getHours()
double org.turro.students.entities.PracticalWork.getHours |
( |
| ) |
|
◆ getIContact()
IContact org.turro.students.entities.PracticalWork.getIContact |
( |
| ) |
|
◆ getId()
Long org.turro.students.entities.PracticalWork.getId |
( |
| ) |
|
◆ getIdContact()
String org.turro.students.entities.PracticalWork.getIdContact |
( |
| ) |
|
◆ getIdResponsible()
String org.turro.students.entities.PracticalWork.getIdResponsible |
( |
| ) |
|
◆ getIResponsible()
IContact org.turro.students.entities.PracticalWork.getIResponsible |
( |
| ) |
|
◆ getPlainText()
String org.turro.students.entities.PracticalWork.getPlainText |
( |
| ) |
|
◆ getPrice()
double org.turro.students.entities.PracticalWork.getPrice |
( |
| ) |
|
◆ getRelatedURL()
String org.turro.students.entities.PracticalWork.getRelatedURL |
( |
| ) |
|
◆ getRole()
◆ getSerializerMappings()
MappingSet org.turro.students.entities.PracticalWork.getSerializerMappings |
( |
| ) |
|
Definition at line 262 of file PracticalWork.java.
263 MappingSet
set =
new MappingSet();
264 set.addMapping(PracticalWork.class, 1,
265 new String[] {
"title",
"creation",
"startDate",
"endDate",
"role",
"type",
"published" },
266 new String[] {
"hours",
"price",
"zipCode",
"text",
"relatedURL",
"idContact",
"idResponsible" });
◆ getStartDate()
Date org.turro.students.entities.PracticalWork.getStartDate |
( |
| ) |
|
◆ getText()
String org.turro.students.entities.PracticalWork.getText |
( |
| ) |
|
◆ getTitle()
String org.turro.students.entities.PracticalWork.getTitle |
( |
| ) |
|
◆ getType()
String org.turro.students.entities.PracticalWork.getType |
( |
| ) |
|
◆ getWiki()
String org.turro.students.entities.PracticalWork.getWiki |
( |
| ) |
|
Definition at line 202 of file PracticalWork.java.
204 if(Strings.isEmpty(wiki) && !Strings.isEmpty(text)) {
◆ getZipCode()
String org.turro.students.entities.PracticalWork.getZipCode |
( |
| ) |
|
◆ isEmpty()
boolean org.turro.students.entities.PracticalWork.isEmpty |
( |
| ) |
|
Implements org.turro.jpa.entity.IDaoEntity.
Definition at line 223 of file PracticalWork.java.
224 return Strings.isBlank(title) || Strings.isBlank(text) || role ==
null ||
225 Strings.isBlank(type) || Strings.isBlank(idContact) || Strings.isBlank(idResponsible);
◆ isImmediate()
boolean org.turro.students.entities.PracticalWork.isImmediate |
( |
| ) |
|
◆ isInBusiness()
boolean org.turro.students.entities.PracticalWork.isInBusiness |
( |
IContact |
worker | ) |
|
◆ isPublished()
boolean org.turro.students.entities.PracticalWork.isPublished |
( |
| ) |
|
◆ setCreation()
void org.turro.students.entities.PracticalWork.setCreation |
( |
Date |
creation | ) |
|
◆ setEndDate()
void org.turro.students.entities.PracticalWork.setEndDate |
( |
Date |
endDate | ) |
|
◆ setHours()
void org.turro.students.entities.PracticalWork.setHours |
( |
double |
hours | ) |
|
◆ setIContact()
void org.turro.students.entities.PracticalWork.setIContact |
( |
IContact |
contact | ) |
|
◆ setId()
void org.turro.students.entities.PracticalWork.setId |
( |
Long |
id | ) |
|
◆ setIdContact()
void org.turro.students.entities.PracticalWork.setIdContact |
( |
String |
idContact | ) |
|
◆ setIdResponsible()
void org.turro.students.entities.PracticalWork.setIdResponsible |
( |
String |
idResponsible | ) |
|
◆ setImmediate()
void org.turro.students.entities.PracticalWork.setImmediate |
( |
boolean |
immediate | ) |
|
◆ setIResponsible()
void org.turro.students.entities.PracticalWork.setIResponsible |
( |
IContact |
responsible | ) |
|
Definition at line 256 of file PracticalWork.java.
257 if(responsible !=
null) idResponsible = responsible.getId();
◆ setPrice()
void org.turro.students.entities.PracticalWork.setPrice |
( |
double |
price | ) |
|
◆ setPublished()
void org.turro.students.entities.PracticalWork.setPublished |
( |
boolean |
published | ) |
|
◆ setRelatedURL()
void org.turro.students.entities.PracticalWork.setRelatedURL |
( |
String |
relatedURL | ) |
|
◆ setRole()
◆ setRoleByContact()
void org.turro.students.entities.PracticalWork.setRoleByContact |
( |
| ) |
|
Definition at line 238 of file PracticalWork.java.
239 setRole(
getIContact().isCenter() ? PracticalWorkRole.PRACTICALWORK_DEMAND : PracticalWorkRole.PRACTICALWORK_SUPPLY);
void setRole(PracticalWorkRole role)
◆ setStartDate()
void org.turro.students.entities.PracticalWork.setStartDate |
( |
Date |
startDate | ) |
|
◆ setText()
void org.turro.students.entities.PracticalWork.setText |
( |
String |
text | ) |
|
◆ setTitle()
void org.turro.students.entities.PracticalWork.setTitle |
( |
String |
title | ) |
|
◆ setType()
void org.turro.students.entities.PracticalWork.setType |
( |
String |
type | ) |
|
◆ setWiki()
void org.turro.students.entities.PracticalWork.setWiki |
( |
String |
wiki | ) |
|
Definition at line 210 of file PracticalWork.java.
212 this.text = WikiCompiler.source(this.wiki).html();
◆ setZipCode()
void org.turro.students.entities.PracticalWork.setZipCode |
( |
String |
zipCode | ) |
|
The documentation for this class was generated from the following file: