# -*- coding: utf-8 -*-
-# Copyright (C) 2007-2013 EDF R&D
+# Copyright (C) 2007-2021 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
from Noyau.N_VALIDATOR import *
class Compulsory(Compulsory):
- def has_into(self):
- return 0
- def valide_liste_partielle(self,liste_courante=None):
- return 1
+ def hasInto(self):
+ return 0
+ def valideListePartielle(self,liste_courante=None):
+ return 1
class OrdList(OrdList):
- def valide_liste_partielle(self,liste_courante=None):
- """
- Methode de validation de liste partielle pour le validateur OrdList
- """
- try:
- self.convert(liste_courante)
- valid=1
- except :
- valid=0
- return valid
-
+ def valideListePartielle(self,liste_courante=None):
+ """
+ Methode de validation de liste partielle pour le validateur OrdList
+ """
+ try:
+ self.convert(liste_courante)
+ valid=1
+ except :
+ valid=0
+ return valid