Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1315 | jmachado | 1 | package pt.estgp.estgweb.domain.views; |
2 | |||
3 | import pt.estgp.estgweb.domain.CourseUnitTurma; |
||
4 | |||
5 | import java.io.Serializable; |
||
6 | import java.util.List; |
||
7 | |||
8 | /** |
||
9 | * Created by jorgemachado on 11/03/16. |
||
10 | */ |
||
11 | public class CourseUnitTurmaView extends DomainObjectView { |
||
12 | |||
13 | private 1.5.0/docs/api/java/lang/Long.html">Long id; |
||
14 | private List<UserView> students; |
||
15 | private 1.5.0/docs/api/java/lang/String.html">String turma; |
||
16 | |||
17 | public void setId(1.5.0/docs/api/java/lang/Long.html">Long id) { |
||
18 | this.id = id; |
||
19 | } |
||
20 | |||
21 | public void setStudents(List<UserView> students) { |
||
22 | this.students = students; |
||
23 | } |
||
24 | |||
25 | public void setTurma(1.5.0/docs/api/java/lang/String.html">String turma) { |
||
26 | this.turma = turma; |
||
27 | } |
||
28 | |||
29 | @1.5.0/docs/api/java/lang/Override.html">Override |
||
30 | public 1.5.0/docs/api/java/lang/Class.html">Class getReferenceClass() { |
||
31 | return CourseUnitTurma.class; |
||
32 | } |
||
33 | |||
34 | @1.5.0/docs/api/java/lang/Override.html">Override |
||
35 | public 1.5.0/docs/api/java/io/Serializable.html">Serializable getSerializable() { |
||
36 | return id; |
||
37 | } |
||
38 | |||
39 | public 1.5.0/docs/api/java/lang/Long.html">Long getId() { |
||
40 | return id; |
||
41 | } |
||
42 | |||
43 | public List<UserView> getStudents() { |
||
44 | return students; |
||
45 | } |
||
46 | |||
47 | public 1.5.0/docs/api/java/lang/String.html">String getTurma() { |
||
48 | return turma; |
||
49 | } |
||
50 | } |