def metAJourNomASSD(self, nom,debug=False):
if not self.cata or not self.cata.modeleMetier : return
if debug : print ('X_ETAPE metAJourLesAttributs', self.nom, nom,' --------------------------')
- self.objPyxb._sdName=nom
+ self.objPyxb.sdName=nom
class X_JDC (X_MCCOMPO):
# ---------------------
if debug : print ('dictArgs ',objEtape.dictArgs)
if debug : print ('dictPyxb ',objEtape.dictPyxb)
# attention au call d Oper qui renomme l objet pyxb
- if hasattr(objEtape,'_sdName') :
- if debug and hasattr(objEtape,'_sdName') :print ('sdName',objEtape._sdName)
- objAccasEtape=maClasseAccas(nomXML=objEtape._sdName, **(objEtape.dictArgs))
+ if hasattr(objEtape,'sdName') :
+ if debug and hasattr(objEtape,'sdName') :print ('sdName',objEtape.sdName)
+ objAccasEtape=maClasseAccas(nomXML=objEtape.sdName, **(objEtape.dictArgs))
else : objAccasEtape=maClasseAccas(**(objEtape.dictArgs))
if debug : print ( 'hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh')
# User OR ASSD
-attributeNameName = '\t\t<xs:attribute name="_sdName" type="xs:string"/>\n'
-attributeTypeForASSD = '\t\t<xs:attribute name="_sdType" type="xs:string" fixed="ASSD"/>\n'
+attributeNameName = '\t\t<xs:attribute name="sdName" type="xs:string"/>\n'
+attributeTypeForASSD = '\t\t<xs:attribute name="sdType" type="xs:string" fixed="ASSD"/>\n'
attributeTypeUtilisateurName = '\t\t<xs:attribute name="typeUtilisateur" type="xs:string" fixed="{}"/>\n'
producingASSDkeyRefDeclaration='\t<xs:key name="Key_Name_For_{}">\n\t\t<xs:selector xpath="."/>\n\t\t<xs:field xpath="{}"/>\n\t</xs:key>\n'
texteFieldUnitaire="./{}:{}/@name |"