- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 47 of file Response.java.
◆ addStudent()
void org.turro.students.entities.Response.addStudent |
( |
IContact |
contact | ) |
|
Definition at line 142 of file Response.java.
143 if(contact !=
null && contact.isValid()) {
144 studentIds.add(contact.getId());
◆ entityId()
Object org.turro.students.entities.Response.entityId |
( |
| ) |
|
◆ getChallenge()
Challenge org.turro.students.entities.Response.getChallenge |
( |
| ) |
|
◆ getCreation()
Date org.turro.students.entities.Response.getCreation |
( |
| ) |
|
◆ getId()
Long org.turro.students.entities.Response.getId |
( |
| ) |
|
◆ getStudentIds()
Set<String> org.turro.students.entities.Response.getStudentIds |
( |
| ) |
|
◆ getStudentList()
List<IContact> org.turro.students.entities.Response.getStudentList |
( |
| ) |
|
Helpers
Definition at line 134 of file Response.java.
135 ContactList list =
new ContactList();
136 studentIds.forEach(idContact -> {
137 list.add(Contacts.getContactById(idContact));
◆ getText()
String org.turro.students.entities.Response.getText |
( |
| ) |
|
◆ getWikiText()
String org.turro.students.entities.Response.getWikiText |
( |
| ) |
|
◆ isEmpty()
boolean org.turro.students.entities.Response.isEmpty |
( |
| ) |
|
◆ removeStudent()
void org.turro.students.entities.Response.removeStudent |
( |
IContact |
contact | ) |
|
Definition at line 148 of file Response.java.
149 if(contact !=
null && contact.isValid()) {
150 studentIds.remove(contact.getId());
◆ setChallenge()
void org.turro.students.entities.Response.setChallenge |
( |
Challenge |
challenge | ) |
|
Definition at line 83 of file Response.java.
84 this.challenge = challenge;
◆ setCreation()
void org.turro.students.entities.Response.setCreation |
( |
Date |
creation | ) |
|
◆ setId()
void org.turro.students.entities.Response.setId |
( |
Long |
id | ) |
|
◆ setStudentIds()
void org.turro.students.entities.Response.setStudentIds |
( |
Set< String > |
studentIds | ) |
|
Definition at line 91 of file Response.java.
92 this.studentIds = studentIds;
◆ setText()
void org.turro.students.entities.Response.setText |
( |
String |
text | ) |
|
◆ setWikiText()
void org.turro.students.entities.Response.setWikiText |
( |
String |
wikiText | ) |
|
Definition at line 115 of file Response.java.
116 this.wikiText = wikiText;
117 this.text = WikiCompiler.source(this.wikiText).html();
The documentation for this class was generated from the following file: