1 | package com.medias.database.objects; |
---|
2 | |
---|
3 | import java.io.Serializable; |
---|
4 | import org.apache.commons.lang.builder.ToStringBuilder; |
---|
5 | |
---|
6 | |
---|
7 | /** @author Hibernate CodeGenerator */ |
---|
8 | public class RequeteNbfichiersNbmesure implements Serializable { |
---|
9 | |
---|
10 | /** |
---|
11 | * |
---|
12 | */ |
---|
13 | private static final long serialVersionUID = 1L; |
---|
14 | |
---|
15 | /** identifier field */ |
---|
16 | private Integer jeuId; |
---|
17 | |
---|
18 | /** persistent field */ |
---|
19 | private int nbFichiers; |
---|
20 | |
---|
21 | /** persistent field */ |
---|
22 | private int nbMesures; |
---|
23 | |
---|
24 | /** nullable persistent field */ |
---|
25 | private com.medias.database.objects.Jeu jeu; |
---|
26 | |
---|
27 | /** full constructor */ |
---|
28 | public RequeteNbfichiersNbmesure(Integer jeuId, int nbFichiers, int nbMesures, com.medias.database.objects.Jeu jeu) { |
---|
29 | this.jeuId = jeuId; |
---|
30 | this.nbFichiers = nbFichiers; |
---|
31 | this.nbMesures = nbMesures; |
---|
32 | this.jeu = jeu; |
---|
33 | } |
---|
34 | |
---|
35 | /** default constructor */ |
---|
36 | public RequeteNbfichiersNbmesure() { |
---|
37 | } |
---|
38 | |
---|
39 | /** minimal constructor */ |
---|
40 | public RequeteNbfichiersNbmesure(Integer jeuId, int nbFichiers, int nbMesures) { |
---|
41 | this.jeuId = jeuId; |
---|
42 | this.nbFichiers = nbFichiers; |
---|
43 | this.nbMesures = nbMesures; |
---|
44 | } |
---|
45 | |
---|
46 | public Integer getJeuId() { |
---|
47 | return this.jeuId; |
---|
48 | } |
---|
49 | |
---|
50 | public void setJeuId(Integer jeuId) { |
---|
51 | this.jeuId = jeuId; |
---|
52 | } |
---|
53 | |
---|
54 | public int getNbFichiers() { |
---|
55 | return this.nbFichiers; |
---|
56 | } |
---|
57 | |
---|
58 | public void setNbFichiers(int nbFichiers) { |
---|
59 | this.nbFichiers = nbFichiers; |
---|
60 | } |
---|
61 | |
---|
62 | public int getNbMesures() { |
---|
63 | return this.nbMesures; |
---|
64 | } |
---|
65 | |
---|
66 | public void setNbMesures(int nbMesures) { |
---|
67 | this.nbMesures = nbMesures; |
---|
68 | } |
---|
69 | |
---|
70 | public com.medias.database.objects.Jeu getJeu() { |
---|
71 | return this.jeu; |
---|
72 | } |
---|
73 | |
---|
74 | public void setJeu(com.medias.database.objects.Jeu jeu) { |
---|
75 | this.jeu = jeu; |
---|
76 | } |
---|
77 | |
---|
78 | public String toString() { |
---|
79 | return new ToStringBuilder(this) |
---|
80 | .append("jeuId", getJeuId()) |
---|
81 | .toString(); |
---|
82 | } |
---|
83 | |
---|
84 | } |
---|