pass
#
-__version__="$Name: $"
-__Id__="$Id: cata_aster_v6.py,v 1.12 2001/01/16 15:55:05 iliade Exp $"
+__version__="$Name: BR_V1_12a1 $"
+__Id__="$Id: cata.py,v 1.3.8.5 2007-06-14 16:17:58 pnoyret Exp $"
#
JdC = JDC_CATA(code='ASTER',
execmodul=None,
def __init__(self,valeur=None,**args):
ASSD.__init__(self,**args)
self.valeur=valeur
+ def __adapt__(self,validator):
+ if validator.name == "list":
+ #validateur liste,cardinalité
+ return (self,)
+ elif validator.name == "type":
+ #validateur type
+ return validator.adapt(self.valeur or 0)
+ else:
+ #validateur into et valid
+ return self
+
# Type geometriques
class no (GEOM):pass