コード例 #1
0
 def __init__(self, maxdigits=None):
     FieldValidatorBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({
         'maxDigits': {
             'type': 'int',
             'name': 'maxdigits',
             'native': True
         }
     })
     self.maxdigits = maxdigits
コード例 #2
0
 def __init__(self, direction=[]):
     FieldValidatorBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({
         'direction': {
             'maxOccurs': 'unbounded',
             'type': 'DateDirection',
             'name': 'direction',
             'minOccurs': '0',
             'native': False
         }
     })
     self.direction = direction
コード例 #3
0
 def __init__(self, range=[]):
     FieldValidatorBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({
         'range': {
             'maxOccurs': 'unbounded',
             'type': 'IntegerRange',
             'name': 'range',
             'minOccurs': '0',
             'native': False
         }
     })
     self.range = range
コード例 #4
0
 def __init__(self, expression=[]):
     FieldValidatorBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({
         'expression': {
             'maxOccurs': 'unbounded',
             'type': 'string',
             'name': 'expression',
             'minOccurs': '0',
             'native': True
         }
     })
     self.expression = expression
コード例 #5
0
 def __init__(self, minlength=None, maxlength=None):
     FieldValidatorBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({
         'minLength': {
             'type': 'int',
             'name': 'minlength',
             'minOccurs': '0',
             'native': True
         },
         'maxLength': {
             'type': 'int',
             'name': 'maxlength',
             'minOccurs': '0',
             'native': True
         }
     })
     self.minlength = minlength
     self.maxlength = maxlength
コード例 #6
0
 def __init__(self, minlength=None, maxlength=None):
     FieldValidatorBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'minLength': {'type': 'int', 'name': 'minlength', 'minOccurs': '0', 'native': True}, 'maxLength': {'type': 'int', 'name': 'maxlength', 'minOccurs': '0', 'native': True}})
     self.minlength = minlength
     self.maxlength = maxlength 
コード例 #7
0
 def __init__(self):
     FieldValidatorBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({})
コード例 #8
0
 def __init__(self, expression=[]):
     FieldValidatorBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'expression': {'maxOccurs': 'unbounded', 'type': 'string', 'name': 'expression', 'minOccurs': '0', 'native': True}})
     self.expression = expression 
コード例 #9
0
 def __init__(self, range=[]):
     FieldValidatorBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'range': {'maxOccurs': 'unbounded', 'type': 'IntegerRange', 'name': 'range', 'minOccurs': '0', 'native': False}})
     self.range = range 
コード例 #10
0
 def __init__(self, maxdigits=None, maxfractions=None):
     FieldValidatorBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'maxDigits': {'type': 'int', 'name': 'maxdigits', 'minOccurs': '0', 'native': True}, 'maxFractions': {'type': 'int', 'name': 'maxfractions', 'minOccurs': '0', 'native': True}})
     self.maxdigits = maxdigits
     self.maxfractions = maxfractions 
コード例 #11
0
 def __init__(self):
     FieldValidatorBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({})