| Line 551... |
Line 551... |
| 551 |
while (it.hasNext()) {
|
551 |
while (it.hasNext()) {
|
| Line 552... |
Line 552... |
| 552 |
|
552 |
|
| 553 |
JSONObject protocoleJSON = tableauProto.get(it.next()).isObject();
|
553 |
JSONObject protocoleJSON = tableauProto.get(it.next()).isObject();
|
| 554 |
Protocole protocole = new Protocole();
|
554 |
Protocole protocole = new Protocole();
|
| 555 |
String idProtocole = UtilitairesServiceResultat.getValeurOuVide(protocoleJSON, "protocole.id");
|
555 |
String idProtocole = UtilitairesServiceResultat.getValeurOuVide(protocoleJSON, "protocole.id");
|
| - |
|
556 |
protocole.setId(Integer.parseInt(idProtocole));
|
| - |
|
557 |
String doitEtreIdentifiePourVoter = UtilitairesServiceResultat.getValeurOuVide(protocoleJSON, "protocole.identifie");
|
| - |
|
558 |
boolean boolDoitEtreIdentifie = doitEtreIdentifiePourVoter.equals("1") ? true : false;
|
| 556 |
protocole.setId(Integer.parseInt(idProtocole));
|
559 |
protocole.setDoitEtreIdentifiePourVoter(boolDoitEtreIdentifie);
|
| 557 |
protocole.setNom(UtilitairesServiceResultat.getValeurOuVide(protocoleJSON, "protocole.intitule"));
|
560 |
protocole.setNom(UtilitairesServiceResultat.getValeurOuVide(protocoleJSON, "protocole.intitule"));
|
| 558 |
protocole.setDescription(UtilitairesServiceResultat.getValeurOuVide(protocoleJSON, "protocole.descriptif"));
|
561 |
protocole.setDescription(UtilitairesServiceResultat.getValeurOuVide(protocoleJSON, "protocole.descriptif"));
|
| 559 |
protocole.setTag(UtilitairesServiceResultat.getValeurOuVide(protocoleJSON, "protocole.tag"));
|
562 |
protocole.setTag(UtilitairesServiceResultat.getValeurOuVide(protocoleJSON, "protocole.tag"));
|
| 560 |
protocole.setMotsClesProtocole(UtilitairesServiceResultat.getValeurOuVide(protocoleJSON, "protocole.mots_cles"));
|
563 |
protocole.setMotsClesProtocole(UtilitairesServiceResultat.getValeurOuVide(protocoleJSON, "protocole.mots_cles"));
|