1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34 package fr.paris.lutece.plugins.mydashboard.modules.identity.business;
35
36 import java.util.Date;
37
38
39
40
41 public class DashboardAttribute
42 {
43
44 private String _strKey;
45 private String _strValue;
46 private String _strCertifierCode;
47 private String _strCertifierName;
48 private int _nCertifierLevel;
49 private Date _tCertificateExpirationDate;
50 private Date _dCertificateDate;
51 private boolean _bMandatory;
52
53 public DashboardAttribute( )
54 {
55
56 }
57
58 public DashboardAttribute( String key, String value, String certifierCode, String certifierName, int nCertifierLevel, Date tCertificateExpirtationDate, Date dCertificateDate )
59 {
60 _strKey = key;
61 _strValue = value;
62 _strCertifierCode = certifierCode;
63 _strCertifierName = certifierName;
64 _nCertifierLevel = nCertifierLevel;
65 _tCertificateExpirationDate = tCertificateExpirtationDate;
66 _dCertificateDate = dCertificateDate;
67 }
68
69 public DashboardAttribute( String key, String value )
70 {
71 _strKey = key;
72 _strValue = value;
73 _strCertifierName = null;
74 _strCertifierCode = null;
75 _tCertificateExpirationDate = null;
76 }
77
78
79
80
81
82 public String getKey()
83 {
84 return _strKey;
85 }
86
87
88
89
90
91 public void setKey( String strKey )
92 {
93 _strKey = strKey;
94 }
95
96
97
98
99
100 public String getValue()
101 {
102 return _strValue;
103 }
104
105
106
107
108
109 public void setValue( String strValue )
110 {
111 _strValue = strValue;
112 }
113
114
115
116
117
118 public String getCertifierCode()
119 {
120 return _strCertifierCode;
121 }
122
123
124
125
126
127 public void setCertifierCode( String strCertifierCode )
128 {
129 _strCertifierCode = strCertifierCode;
130 }
131
132
133
134
135
136 public String getCertifierName()
137 {
138 return _strCertifierName;
139 }
140
141
142
143
144
145 public void setCertifierName( String strCertifierName )
146 {
147 _strCertifierName = strCertifierName;
148 }
149
150
151
152
153
154 public int getCertifierLevel()
155 {
156 return _nCertifierLevel;
157 }
158
159
160
161
162
163 public void setCertifierName( int nCertifierLevel )
164 {
165 _nCertifierLevel = nCertifierLevel;
166 }
167
168
169
170
171
172 public Date getExpirationDate()
173 {
174 return _tCertificateExpirationDate;
175 }
176
177
178
179
180
181 public void setExpirationDate( Date tCertificateExpirationDate )
182 {
183 _tCertificateExpirationDate = tCertificateExpirationDate;
184 }
185
186
187
188
189
190 public boolean isMandatory() {
191 return _bMandatory;
192 }
193
194
195
196
197
198 public void setMandatory(boolean _bMandatory) {
199 this._bMandatory = _bMandatory;
200 }
201
202
203
204
205 public Date getCertificateDate( )
206 {
207 return _dCertificateDate;
208 }
209
210
211
212
213 public void setCertificateDate( Date dCertificateDate )
214 {
215 this._dCertificateDate = dCertificateDate;
216 }
217
218 }