/**
* Variables contenant les valeurs nécessaires à ce contrôle
*/
- private String operationNodeId, typePceNodeId, natPceNodeId, natureLgNodeId, fonctionNodeId, ligneNodeId = null;
+ private String operationNodeId, typePceNodeId, natPceNodeId, fonctionNodeId, ligneNodeId = null;
private String exercice, idBordereau, typeBordereau, operation, idPce, typePce, natPce, nature, fonction = null;
- private String nomencl, typnomencl = null;
- private boolean isOperation, isFonction = false;
+ private String nomencl = "", typnomencl = "";
private static final String TYPE_NOMENCLATURE_NATURE = "Nature";
private static final String TYPE_NOMENCLATURE_FONCTION = "Fonction";
anosPiece.clear();
}
if(xpath.endsWith(CHEMIN_LIGNEPIECE_INFOS)){
- nature="";
- natureLgNodeId="";
+ nature="";
fonction="";
fonctionNodeId="";
- isFonction=false;
operation="";
operationNodeId="";
- isOperation=false;
}
/*
}
if (xpath.endsWith(CHEMIN_LIGNEPIECE_NATURE)) {
nature = atts.getValue("V");
- natureLgNodeId = atts.getValue("ano:node-id");
}
if (xpath.endsWith(CHEMIN_LIGNEPIECE_FONCTION)) {
fonction = atts.getValue("V");
fonctionNodeId = atts.getValue("ano:node-id");
- isFonction=true;
}
if (xpath.endsWith(CHEMIN_LIGNEPIECE_OPERATION)) {
operationNodeId = atts.getValue("ano:node-id");
operation = atts.getValue("V");
- isOperation=true;
}
}