View Javadoc
1   /*
2    * Copyright (c) 2002-2016, Mairie de Paris
3    * All rights reserved.
4    *
5    * Rediibution and use in source and binary forms, with or without
6    * modification, are permitted provided that the following conditions
7    * are met:
8    *
9    *  1. Rediibutions of source code must retain the above copyright notice
10   *     and the following disclaimer.
11   *
12   *  2. Rediibutions in binary form must reproduce the above copyright notice
13   *     and the following disclaimer in the documentation and/or other materials
14   *     provided with the diibution.
15   *
16   *  3. Neither the name of 'Mairie de Paris' nor 'Lutece' nor the names of its
17   *     contributors may be used to endorse or promote products derived from
18   *     this software without specific prior written permission.
19   *
20   * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21   * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22   * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23   * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
24   * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25   * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26   * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27   * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28   * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29   * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30   * POSSIBILITY OF SUCH DAMAGE.
31   *
32   * License 1.0
33   */
34  package fr.paris.lutece.plugins.mydashboard.modules.identity.business;
35  
36  import fr.paris.lutece.plugins.mydashboard.modules.identity.util.Constants;
37  import java.util.HashMap;
38  import java.util.Map;
39  
40  /**
41   *
42   * DashboardIdentity
43   *
44   */
45  public class DashboardIdentity
46  {
47      private Map<String, DashboardAttribute> _mapAttributes;
48      
49      public DashboardIdentity ()
50      {
51          _mapAttributes = new HashMap<String, DashboardAttribute>( );
52      }
53      
54      /**
55       * Set a value to a specific attribute of DashboardIdentityAttribute
56       * @param key the name of the attribute
57       * @param value the value of the attribute
58       */
59      public void setAttributeValue ( String key, String value )
60      {
61          DashboardAttribute attribute = _mapAttributes.get( key );
62          if ( attribute != null )
63          {
64              attribute.setValue( value );
65              _mapAttributes.put( key, attribute );
66          }
67      }
68      
69      /**
70       * Get a DashboardAttribute for a key
71       * @param key the key
72       * @return the DashboardAttribute
73       */
74      public DashboardAttribute getAttribute ( String key )
75      {
76          return _mapAttributes.get( key );
77      }
78      
79      /**
80       * Set an attribute to DashboardIdentity attribute map
81       * @param key the key of the attribute
82       * @param attribute the DashboardAttribute to set
83       */
84      public void setAttribute ( String key, DashboardAttribute attribute )
85      {
86          if ( attribute != null )
87          {
88              _mapAttributes.put( key, attribute );
89          }
90      }
91  
92      /**
93       * @return the _ConnectionId
94       */
95      public DashboardAttribute getConnectionId( )
96      {
97          return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_CONNECTION_ID );
98      }
99  
100     /**
101      * @param connectionId
102      *            the _ConnectionId to set
103      */
104     public void setConnectionId( DashboardAttribute connectionId )
105     {
106         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_CONNECTION_ID, connectionId );
107     }
108 
109     /**
110      * @return the _CustomerId
111      */
112     public DashboardAttribute getCustomerId( )
113     {
114         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_CUSTOMER_ID );
115     }
116 
117     /**
118      * @param customerId
119      *            the _customerId to set
120      */
121     public void setCustomerId( DashboardAttribute customerId )
122     {
123         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_CUSTOMER_ID, customerId );
124     }
125 
126     /**
127      * @return the _LastName
128      */
129     public DashboardAttribute getLastName( )
130     {
131         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_LAST_NAME );
132     }
133 
134     /**
135      * @param lastName
136      *            the lastName to set
137      */
138     public void setLastName( DashboardAttribute lastName )
139     {
140         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_LAST_NAME, lastName );
141     }
142 
143     /**
144      * @return the Preferred Username
145      */
146     public DashboardAttribute getPreferredUsername( )
147     {
148         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_PREFERRED_USER_NAME );
149     }
150 
151     /**
152      * @param preferredUsername
153      *            the preferredUsername to set
154      */
155     public void setPreferredUsername( DashboardAttribute preferredUsername )
156     {
157         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_PREFERRED_USER_NAME, preferredUsername );
158     }
159 
160     /**
161      * @return the _Firstname
162      */
163     public DashboardAttribute getFirstname( )
164     {
165         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_FIRSTNAME );
166     }
167 
168     /**
169      * @param firstname
170      *            the firstname to set
171      */
172     public void setFirstname( DashboardAttribute firstname )
173     {
174         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_FIRSTNAME, firstname );
175     }
176 
177     /**
178      * @return the _Gender
179      */
180     public DashboardAttribute getGender( )
181     {
182         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_GENDER );
183     }
184 
185     /**
186      * @param gender
187      *            the gender to set
188      */
189     public void setGender( DashboardAttribute gender )
190     {
191         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_GENDER, gender );
192     }
193 
194     /**
195      * @return the _Birthdate
196      */
197     public DashboardAttribute getBirthdate( )
198     {
199         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_BIRTHDATE );
200     }
201 
202     /**
203      * @param birthdate
204      *            the birthdate to set
205      */
206     public void setBirthdate( DashboardAttribute birthdate )
207     {
208         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_BIRTHDATE, birthdate );
209     }
210 
211     /**
212      * @return the _Birthplace
213      */
214     public DashboardAttribute getBirthplace( )
215     {
216         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_BIRTHPLACE );
217     }
218 
219     /**
220      * @param birthplace
221      *            the _birthplace to set
222      */
223     public void setBirthplace( DashboardAttribute birthplace )
224     {
225         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_BIRTHPLACE, birthplace );
226     }
227 
228     /**
229      * @return the Birthcountry
230      */
231     public DashboardAttribute getBirthcountry( )
232     {
233         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_BIRTHCOUNTRY );
234     }
235 
236     /**
237      * @param birthcountry
238      *            the birthcountry to set
239      */
240     public void setBirthcountry( DashboardAttribute birthcountry )
241     {
242         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_BIRTHCOUNTRY, birthcountry );
243     }
244 
245     /**
246      * @return the Address
247      */
248     public DashboardAttribute getAddress( )
249     {
250         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_ADDRESS );
251     }
252 
253     /**
254      * @param address
255      *            the address to set
256      */
257     public void setAddress( DashboardAttribute address )
258     {
259         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_ADDRESS, address );
260     }
261 
262     /**
263      * @return the AddressDetail
264      */
265     public DashboardAttribute getAddressDetail( )
266     {
267         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_ADDRESS_DETAIL );
268     }
269 
270     /**
271      * @param addressDetail
272      *            the addressDetail to set
273      */
274     public void setAddressDetail( DashboardAttribute addressDetail )
275     {
276         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_ADDRESS_DETAIL, addressDetail );
277     }
278 
279     /**
280      * @return the _AddressPostalcode
281      */
282     public DashboardAttribute getAddressPostalcode( )
283     {
284         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_ADDRESS_POSTAL_CODE );
285     }
286 
287     /**
288      * @param addressPostalcode
289      *            the addressPostalcode to set
290      */
291     public void setAddressPostalcode( DashboardAttribute addressPostalcode )
292     {
293         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_ADDRESS_POSTAL_CODE, addressPostalcode );
294     }
295 
296     /**
297      * @return the AddressCity
298      */
299     public DashboardAttribute getAddressCity( )
300     {
301         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_ADDRESS_CITY );
302     }
303 
304     /**
305      * @param addressCity
306      *            the addressCity to set
307      */
308     public void setAddressCity( DashboardAttribute addressCity )
309     {
310         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_ADDRESS_CITY, addressCity );
311     }
312 
313     /**
314      * @return the BillingAddress
315      */
316     public DashboardAttribute getBillingAddress( )
317     {
318         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_BILLING_ADDRESS );
319     }
320 
321     /**
322      * @param billingAddress
323      *            the billingAddress to set
324      */
325     public void setBillingAddress( DashboardAttribute billingAddress )
326     {
327         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_BILLING_ADDRESS, billingAddress );
328     }
329 
330     /**
331      * @return the BillingAddressDetail
332      */
333     public DashboardAttribute getBillingAddressDetail( )
334     {
335         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_BILLING_ADDRESS_DETAIL );
336     }
337 
338     /**
339      * @param billingAddressDetail
340      *            the billingAddressDetail to set
341      */
342     public void setBillingAddressDetail( DashboardAttribute billingAddressDetail )
343     {
344         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_BILLING_ADDRESS_DETAIL, billingAddressDetail );
345     }
346 
347     /**
348      * @return the BillingAddressPostalcode
349      */
350     public DashboardAttribute getBillingAddressPostalcode( )
351     {
352         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_BILLING_ADDRESS_POSTAL_CODE );
353     }
354 
355     /**
356      * @param billingAddressPostalcode
357      *            the billingAddressPostalcode to set
358      */
359     public void setBillingAddressPostalcode( DashboardAttribute billingAddressPostalcode )
360     {
361         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_BILLING_ADDRESS_POSTAL_CODE, billingAddressPostalcode );
362     }
363 
364     /**
365      * @return the BillingAddressCity
366      */
367     public DashboardAttribute getBillingAddressCity( )
368     {
369         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_BILLING_ADDRESS_CITY );
370     }
371 
372     /**
373      * @param billingAddressCity
374      *            the billingAddressCity to set
375      */
376     public void setBillingAddressCity( DashboardAttribute billingAddressCity )
377     {
378         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_BILLING_ADDRESS_CITY, billingAddressCity );
379     }
380 
381     /**
382      * @return the _Email
383      */
384     public DashboardAttribute getEmail( )
385     {
386         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_EMAIL );
387     }
388 
389     /**
390      * @param email
391      *            the email to set
392      */
393     public void setEmail( DashboardAttribute email )
394     {
395         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_EMAIL, email );
396     }
397 
398     /**
399      * @return the _Phone
400      */
401     public DashboardAttribute getPhone( )
402     {
403         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_PHONE );
404     }
405 
406     /**
407      * @param phone
408      *            the phone to set
409      */
410     public void setPhone( DashboardAttribute phone )
411     {
412         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_PHONE, phone );
413     }
414 
415     /**
416      * @return the _MobilePhone
417      */
418     public DashboardAttribute getMobilePhone( )
419     {
420         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_MOBILE_PHONE );
421     }
422 
423     /**
424      * @param mobilePhone
425      *            the mobilePhone to set
426      */
427     public void setMobilePhone( DashboardAttribute mobilePhone )
428     {
429         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_MOBILE_PHONE, mobilePhone );
430     }
431 
432     /**
433      * @return the PreferredContactMode
434      */
435     public DashboardAttribute getPreferredContactMode( )
436     {
437         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_PREFERRED_CONTACT_MODE );
438     }
439 
440     /**
441      * @param preferredContactMode
442      *            the Preferred Contact Mode to set
443      */
444     public void setPreferredContactMode( DashboardAttribute preferredContactMode )
445     {
446         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_PREFERRED_CONTACT_MODE, preferredContactMode );
447     }
448 
449     /**
450      * @return the Login
451      */
452     public DashboardAttribute getLogin( )
453     {
454         //In this implementation of MyDashboardIdentity, login == email of user.
455         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_EMAIL );
456     }
457 
458     /**
459      * @param login
460      *            the login to set
461      */
462     public void setLogin( DashboardAttribute login )
463     {
464         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_LOGIN, login );
465     }
466 
467     /**
468      * @return the AcceptNews flag
469      */
470     public DashboardAttribute getAcceptNews( )
471     {
472         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_ACCEPT_NEWS );
473     }
474 
475     /**
476      * @param bAcceptNews
477      *            the AcceptNews flag to set
478      */
479     public void setAcceptNews( DashboardAttribute bAcceptNews )
480     {
481         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_ACCEPT_NEWS, bAcceptNews );
482     }
483 
484     /**
485      * @return the AcceptSurvey flag
486      */
487     public DashboardAttribute getAcceptSurvey( )
488     {
489         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_ACCEPT_SURVEY );
490     }
491 
492     /**
493      * @param bAcceptSurvey
494      *            the AcceptSurvey flag to set
495      */
496     public void setAcceptSurvey( DashboardAttribute bAcceptSurvey )
497     {
498         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_ACCEPT_SURVEY, bAcceptSurvey );
499     }
500     
501     /**
502      * @return the FranceConnectCertified flag
503      */
504     public DashboardAttribute getFranceConnectCertified( )
505     {
506         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_FRANCE_CONNECT_CERTIFIED );
507     }
508     
509     /**
510      * @return the Direction
511      */
512     public DashboardAttribute getDirection( )
513     {
514         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_DIRECTION );
515     }
516 
517     /**
518      * @param direction
519      *            the direction to set
520      */
521     public void setDirection( DashboardAttribute direction )
522     {
523         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_DIRECTION, direction );
524     }
525     
526     /**
527      * @return the soi number
528      */
529     public DashboardAttribute getSoi( )
530     {
531         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_SOI );
532     }
533 
534     /**
535      * @param soi
536      *            the soi number
537      */
538     public void setSoi( DashboardAttribute soi )
539     {
540         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_SOI, soi );
541     }
542     
543     /**
544      * @return the soi number
545      */
546     public DashboardAttribute getNumBureau( )
547     {
548         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_NUM_BUREAU );
549     }
550 
551     /**
552      * @param soi
553      *            the soi number
554      */
555     public void setNumBureau( DashboardAttribute numBureau )
556     {
557         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_NUM_BUREAU, numBureau );
558     }
559     
560     
561     /**
562      * @return the soi number
563      */
564     public DashboardAttribute getTelPro( )
565     {
566         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_TEL_PRO );
567     }
568 
569     /**
570      * @param soi
571      *            the soi number
572      */
573     public void setTelPro( DashboardAttribute numBureau )
574     {
575         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_TEL_PRO, numBureau );
576     } /**
577      * @return the soi number
578      */
579     public DashboardAttribute getCategorie( )
580     {
581         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_CATEGORIE);
582     }
583 
584     /**
585      * @param soi
586      *            the soi number
587      */
588     public void setCategorie( DashboardAttribute numBureau )
589     {
590         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_CATEGORIE, numBureau );
591     } /**
592      * @return the soi number
593      */
594     public DashboardAttribute getCorps( )
595     {
596         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_CORPS);
597     }
598 
599     /**
600      * @param soi
601      *            the soi number
602      */
603     public void setCorps( DashboardAttribute numBureau )
604     {
605         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_CORPS, numBureau );
606     } /**
607      * @return the soi number
608      */
609     public DashboardAttribute getGrade( )
610     {
611         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_GRADE );
612     }
613 
614     /**
615      * @param soi
616      *            the soi number
617      */
618     public void setGrade( DashboardAttribute numBureau )
619     {
620         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_GRADE, numBureau );
621     } 
622     
623     
624     
625     
626     /**
627      * @return the soi number
628      */
629     public DashboardAttribute getPositionAdministrative( )
630     {
631         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_POSITION_ADMINISTRATIVE);
632     }
633 
634     /**
635      * @param soi
636      *            the soi number
637      */
638     public void setPositionAdministrative( DashboardAttribute numBureau )
639     {
640         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_POSITION_ADMINISTRATIVE, numBureau );
641     } 
642     
643     /**
644      * @return the soi number
645      */
646     public DashboardAttribute getAffectationDate()
647     {
648         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_AFFECTION_DATE );
649     }
650 
651     /**
652      * @param soi
653      *            the soi number
654      */
655     public void setAffectationDate( DashboardAttribute numBureau )
656     {
657         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_AFFECTION_DATE, numBureau );
658     }
659     
660     
661     
662     /**
663      * @return the soi number
664      */
665     public DashboardAttribute getEntiteJuridique( )
666     {
667         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_ENTITE_JURIDIQUE );
668     }
669 
670     /**
671      * @param soi
672      *            the soi number
673      */
674     public void setEntiteJuridique( DashboardAttribute numBureau )
675     {
676         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_ENTITE_JURIDIQUE, numBureau );
677     } 
678 
679     
680     /**
681      * @return the soi number
682      */
683     public DashboardAttribute getServiceCentraux( )
684     {
685         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_SERVICE_CENTRAUX );
686     }
687     
688     /**
689      * @param soi
690      *            the soi number
691      */
692     public void setServiceCentraux( DashboardAttribute numBureau )
693     {
694         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_SERVICE_CENTRAUX, numBureau );
695     } 
696 
697     
698     
699     /**
700      * @return the soi number
701      */
702     public DashboardAttribute getNiveau( )
703     {
704         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_NIVEAU);
705     }
706     /**
707      * @param soi
708      *            the soi number
709      */
710     public void setNiveau( DashboardAttribute numBureau )
711     {
712         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_NIVEAU, numBureau );
713     } 
714     
715     /**
716      * @return the soi number
717      */
718     public DashboardAttribute getEncadrant( )
719     {
720         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_ENCADRANT);
721     }
722 
723     /**
724      * @param soi
725      *            the soi number
726      */
727     public void setEncadrant( DashboardAttribute numBureau )
728     {
729         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_ENCADRANT, numBureau );
730     }
731     
732     /**
733      * @return the soi number
734      */
735     public DashboardAttribute getIsEncadrant( )
736     {
737         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_IS_ENCADRANT);
738     }
739 
740     /**
741      * @param soi
742      *            the soi number
743      */
744     public void setIsEncadrant( DashboardAttribute numBureau )
745     {
746         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_IS_ENCADRANT, numBureau );
747     } 
748 
749     
750     /**
751      * @return the soi number
752      */
753     public DashboardAttribute getRhNomUsage( )
754     {
755         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_RH_NOM_USAGE );
756     }
757 
758     /**
759      * @param soi
760      *            the soi number
761      */
762     public void setRhNomUsage( DashboardAttribute numBureau )
763     {
764         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_RH_NOM_USAGE, numBureau );
765     }
766 
767     
768     /**
769      * @return the soi number
770      */
771     public DashboardAttribute getRhPrenom( )
772     {
773         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_RH_PRENOM );
774     }
775     /**
776      * @param soi
777      *            the soi number
778      */
779     public void setRhPrenom( DashboardAttribute numBureau )
780     {
781         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_RH_PRENOM, numBureau );
782     } /**
783      * @return the soi number
784      */
785     public DashboardAttribute getRhTel( )
786     {
787         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_RH_TEL );
788     }
789 
790     /**
791      * @param soi
792      *            the soi number
793      */
794     public void setRhTel( DashboardAttribute numBureau )
795     {
796         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_RH_TEL, numBureau );
797     } 
798     
799     
800     /**
801      * @return the soi number
802      */
803     public DashboardAttribute getUgdSoi( )
804     {
805         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_UGD_SOI);
806     }
807 
808     /**
809      * @param soi
810      *            the soi number
811      */
812     public void setUgdSoi( DashboardAttribute numBureau )
813     {
814         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_UGD_SOI, numBureau );
815     } 
816     
817     
818     
819     /**
820      * @return the soi number
821      */
822     public DashboardAttribute getUgdUnite( )
823     {
824         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_UGD_UNITE);
825     }
826 
827     /**
828      * @param soi
829      *            the soi number
830      */
831     public void setUgdUnite( DashboardAttribute numBureau )
832     {
833         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_UGD_UNITE, numBureau );
834     } 
835     
836     
837     /**
838      * @return the soi number
839      */
840     public DashboardAttribute getUgdUniteSoi( )
841     {
842         return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_UGD_UNITE_SOI);
843     }
844 
845     /**
846      * @param soi
847      *            the soi number
848      */
849     public void setUgdUniteSoi( DashboardAttribute numBureau )
850     {
851         _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_UGD_UNITE_SOI, numBureau );
852     } 
853     
854     
855     
856     
857 }