1 | package com.medias.database.objects; |
---|
2 | |
---|
3 | // Generated 5 févr. 2007 11:07:11 by Hibernate Tools 3.2.0.b9 |
---|
4 | |
---|
5 | import java.math.BigDecimal; |
---|
6 | import java.util.HashSet; |
---|
7 | import java.util.Set; |
---|
8 | |
---|
9 | /** |
---|
10 | * Fichier generated by hbm2java |
---|
11 | */ |
---|
12 | public class Fichier implements java.io.Serializable { |
---|
13 | |
---|
14 | /** |
---|
15 | * |
---|
16 | */ |
---|
17 | private static final long serialVersionUID = 1L; |
---|
18 | |
---|
19 | private int fichierId; |
---|
20 | |
---|
21 | private Jeu jeu; |
---|
22 | |
---|
23 | private String fichierNom; |
---|
24 | |
---|
25 | private String fichierChemin; |
---|
26 | |
---|
27 | private BigDecimal fichierTaille; |
---|
28 | |
---|
29 | private Set<Mesure> mesures = new HashSet<Mesure>(0); |
---|
30 | |
---|
31 | public Fichier() { |
---|
32 | } |
---|
33 | |
---|
34 | public Fichier(int fichierId, Jeu jeu, String fichierNom, |
---|
35 | BigDecimal fichierTaille) { |
---|
36 | this.fichierId = fichierId; |
---|
37 | this.jeu = jeu; |
---|
38 | this.fichierNom = fichierNom; |
---|
39 | this.fichierTaille = fichierTaille; |
---|
40 | } |
---|
41 | |
---|
42 | public Fichier(int fichierId, Jeu jeu, String fichierNom, |
---|
43 | String fichierChemin, BigDecimal fichierTaille, Set<Mesure> mesures) { |
---|
44 | this.fichierId = fichierId; |
---|
45 | this.jeu = jeu; |
---|
46 | this.fichierNom = fichierNom; |
---|
47 | this.fichierChemin = fichierChemin; |
---|
48 | this.fichierTaille = fichierTaille; |
---|
49 | this.mesures = mesures; |
---|
50 | } |
---|
51 | |
---|
52 | public int getFichierId() { |
---|
53 | return this.fichierId; |
---|
54 | } |
---|
55 | |
---|
56 | public void setFichierId(int fichierId) { |
---|
57 | this.fichierId = fichierId; |
---|
58 | } |
---|
59 | |
---|
60 | public Jeu getJeu() { |
---|
61 | return this.jeu; |
---|
62 | } |
---|
63 | |
---|
64 | public void setJeu(Jeu jeu) { |
---|
65 | this.jeu = jeu; |
---|
66 | } |
---|
67 | |
---|
68 | public String getFichierNom() { |
---|
69 | return this.fichierNom; |
---|
70 | } |
---|
71 | |
---|
72 | public void setFichierNom(String fichierNom) { |
---|
73 | this.fichierNom = fichierNom; |
---|
74 | } |
---|
75 | |
---|
76 | public String getFichierChemin() { |
---|
77 | return this.fichierChemin; |
---|
78 | } |
---|
79 | |
---|
80 | public void setFichierChemin(String fichierChemin) { |
---|
81 | this.fichierChemin = fichierChemin; |
---|
82 | } |
---|
83 | |
---|
84 | public BigDecimal getFichierTaille() { |
---|
85 | return this.fichierTaille; |
---|
86 | } |
---|
87 | |
---|
88 | public void setFichierTaille(BigDecimal fichierTaille) { |
---|
89 | this.fichierTaille = fichierTaille; |
---|
90 | } |
---|
91 | |
---|
92 | public Set<Mesure> getMesures() { |
---|
93 | return this.mesures; |
---|
94 | } |
---|
95 | |
---|
96 | public void setMesures(Set<Mesure> mesures) { |
---|
97 | this.mesures = mesures; |
---|
98 | } |
---|
99 | |
---|
100 | } |
---|