1 | /* |
---|
2 | * Created on 25 Jan. 2007 |
---|
3 | */ |
---|
4 | package com.medias.integration.vues; |
---|
5 | |
---|
6 | import java.util.Date; |
---|
7 | |
---|
8 | /** |
---|
9 | * @author |
---|
10 | * |
---|
11 | * Représente les caractéristiques d'un paramétre d'un modéle de jeu de données. |
---|
12 | */ |
---|
13 | public class ParametreModele { |
---|
14 | public ParametreModele() { |
---|
15 | nom = ""; |
---|
16 | } |
---|
17 | |
---|
18 | public ParametreModele(String nom, String type, String fonction, |
---|
19 | String unite, String delta, String numero, String format, String lod) { |
---|
20 | this.nom = nom; |
---|
21 | this.type = type; |
---|
22 | this.fonction = fonction; |
---|
23 | this.nomUnite = unite; |
---|
24 | this.delta = ((delta!=null && !delta.equals(""))?delta:null); |
---|
25 | this.numero = numero; |
---|
26 | this.format = format; |
---|
27 | this.lod = ((lod!=null && !lod.equals(""))?lod:null); |
---|
28 | } |
---|
29 | |
---|
30 | public String toString() { |
---|
31 | return "Param="+nom+", fonction="+fonction+", unite="+nomUnite+", type="+type+", format="+format+", valAbsente="+valAbsente; |
---|
32 | } |
---|
33 | |
---|
34 | public String getDelta() { |
---|
35 | return delta; |
---|
36 | } |
---|
37 | |
---|
38 | public void setDelta(String delta) { |
---|
39 | this.delta = delta; |
---|
40 | } |
---|
41 | |
---|
42 | public String getFonction() { |
---|
43 | return fonction; |
---|
44 | } |
---|
45 | |
---|
46 | public void setFonction(String fonction) { |
---|
47 | this.fonction = fonction; |
---|
48 | } |
---|
49 | |
---|
50 | public String getFormat() { |
---|
51 | return format; |
---|
52 | } |
---|
53 | |
---|
54 | public void setFormat(String format) { |
---|
55 | this.format = format; |
---|
56 | } |
---|
57 | |
---|
58 | public String getNom() { |
---|
59 | return nom; |
---|
60 | } |
---|
61 | |
---|
62 | public void setNom(String nom) { |
---|
63 | this.nom = nom; |
---|
64 | } |
---|
65 | |
---|
66 | public String getNumero() { |
---|
67 | return numero; |
---|
68 | } |
---|
69 | |
---|
70 | public void setNumero(String numero) { |
---|
71 | this.numero = numero; |
---|
72 | } |
---|
73 | |
---|
74 | public String getNomUnite() { |
---|
75 | return nomUnite; |
---|
76 | } |
---|
77 | |
---|
78 | public void setNomUnite(String nomUnite) { |
---|
79 | this.nomUnite = nomUnite; |
---|
80 | } |
---|
81 | |
---|
82 | public String getType() { |
---|
83 | return type; |
---|
84 | } |
---|
85 | |
---|
86 | public void setType(String type) { |
---|
87 | this.type = type; |
---|
88 | } |
---|
89 | |
---|
90 | public String getLod() { |
---|
91 | return lod; |
---|
92 | } |
---|
93 | |
---|
94 | public void setLod(String lod) { |
---|
95 | this.lod = lod; |
---|
96 | } |
---|
97 | |
---|
98 | public String getValAbsente() { |
---|
99 | return valAbsente; |
---|
100 | } |
---|
101 | |
---|
102 | public void setValAbsente(String valAbsente) { |
---|
103 | this.valAbsente = valAbsente; |
---|
104 | } |
---|
105 | |
---|
106 | public Date getDateDeb() { |
---|
107 | return dateDeb; |
---|
108 | } |
---|
109 | |
---|
110 | public void setDateDeb(Date dateDeb) { |
---|
111 | this.dateDeb = dateDeb; |
---|
112 | } |
---|
113 | |
---|
114 | public Date getDateFin() { |
---|
115 | return dateFin; |
---|
116 | } |
---|
117 | |
---|
118 | public void setDateFin(Date dateFin) { |
---|
119 | this.dateFin = dateFin; |
---|
120 | } |
---|
121 | |
---|
122 | public Date getDateSince() { |
---|
123 | return dateSince; |
---|
124 | } |
---|
125 | |
---|
126 | public void setDateSince(Date dateSince) { |
---|
127 | this.dateSince = dateSince; |
---|
128 | } |
---|
129 | |
---|
130 | public int getIndiceParam() { |
---|
131 | return indiceParam; |
---|
132 | } |
---|
133 | |
---|
134 | public void setIndiceParam(int indiceParam) { |
---|
135 | this.indiceParam = indiceParam; |
---|
136 | } |
---|
137 | |
---|
138 | public int getIndiceCapt() { |
---|
139 | return indiceCapt; |
---|
140 | } |
---|
141 | |
---|
142 | public void setIndiceCapt(int indiceCapt) { |
---|
143 | this.indiceCapt = indiceCapt; |
---|
144 | } |
---|
145 | |
---|
146 | public String getCoef() { |
---|
147 | return coef; |
---|
148 | } |
---|
149 | |
---|
150 | public void setCoef(String coef) { |
---|
151 | this.coef = coef; |
---|
152 | } |
---|
153 | |
---|
154 | private String nom; |
---|
155 | private String type; |
---|
156 | private String fonction; |
---|
157 | private String nomUnite; |
---|
158 | private String delta; |
---|
159 | private String numero; |
---|
160 | private String format; |
---|
161 | private String lod; |
---|
162 | private String valAbsente = null; |
---|
163 | private String coef = null; |
---|
164 | private Date dateDeb; |
---|
165 | private Date dateFin; |
---|
166 | private Date dateSince; |
---|
167 | private int indiceParam; |
---|
168 | private int indiceCapt; |
---|
169 | } |
---|