1 | package org.medias.eccad.modele; |
---|
2 | |
---|
3 | import java.sql.Date; |
---|
4 | |
---|
5 | public class Produit { |
---|
6 | private long identifiant; |
---|
7 | private String nom; |
---|
8 | private int id_grille; |
---|
9 | private Date beginDate; |
---|
10 | private Date endDate; |
---|
11 | private String header; |
---|
12 | private String temporalres; |
---|
13 | private String type; |
---|
14 | |
---|
15 | public Date getBeginDate() { |
---|
16 | return beginDate; |
---|
17 | } |
---|
18 | |
---|
19 | public void setBeginDate(Date beginDate) { |
---|
20 | this.beginDate = beginDate; |
---|
21 | } |
---|
22 | |
---|
23 | public Date getEndDate() { |
---|
24 | return endDate; |
---|
25 | } |
---|
26 | |
---|
27 | public void setEndDate(Date endDate) { |
---|
28 | this.endDate = endDate; |
---|
29 | } |
---|
30 | |
---|
31 | public Produit(int identifiant, String nom) { |
---|
32 | super(); |
---|
33 | this.identifiant = identifiant; |
---|
34 | this.nom = nom; |
---|
35 | } |
---|
36 | |
---|
37 | public Produit(long identifiant, String nom, Date begDate, Date endDate) { |
---|
38 | super(); |
---|
39 | this.identifiant = identifiant; |
---|
40 | this.nom = nom; |
---|
41 | this.beginDate = begDate; |
---|
42 | this.endDate = endDate; |
---|
43 | |
---|
44 | } |
---|
45 | |
---|
46 | public Produit(long identifiant, String nom, Date begDate, Date endDate, String header) { |
---|
47 | super(); |
---|
48 | this.identifiant = identifiant; |
---|
49 | this.nom = nom; |
---|
50 | this.beginDate = begDate; |
---|
51 | this.endDate = endDate; |
---|
52 | this.header = header; |
---|
53 | } |
---|
54 | |
---|
55 | public int getId_grille() { |
---|
56 | return id_grille; |
---|
57 | } |
---|
58 | public void setId_grille(int id_grille) { |
---|
59 | this.id_grille = id_grille; |
---|
60 | } |
---|
61 | public long getIdentifiant() { |
---|
62 | return identifiant; |
---|
63 | } |
---|
64 | public void setIdentifiant(long identifiant) { |
---|
65 | this.identifiant = identifiant; |
---|
66 | } |
---|
67 | public String getNom() { |
---|
68 | return nom; |
---|
69 | } |
---|
70 | public void setNom(String nom) { |
---|
71 | this.nom = nom; |
---|
72 | } |
---|
73 | |
---|
74 | public String getHeader() { |
---|
75 | return header; |
---|
76 | } |
---|
77 | |
---|
78 | public void setHeader(String header) { |
---|
79 | this.header = header; |
---|
80 | } |
---|
81 | |
---|
82 | public String getTemporalres() { |
---|
83 | return temporalres; |
---|
84 | } |
---|
85 | |
---|
86 | public void setTemporalres(String temporalres) { |
---|
87 | this.temporalres = temporalres; |
---|
88 | } |
---|
89 | |
---|
90 | public String getType() { |
---|
91 | return type; |
---|
92 | } |
---|
93 | |
---|
94 | public void setType(String type) { |
---|
95 | this.type = type; |
---|
96 | } |
---|
97 | } |
---|