parameters: (self, obj, fixit=0)
return_statement: return error_list
docstring: Check the object's consistency.
        We will make sure that each non None constraint_definition is
        satisfied
docstring_summary: Check the object's consistency.
        We will make sure that each non None constraint_definition is
        satisfied
docstring_tokens: Check the object s consistency . We will make sure that each non None constraint_definition is satisfied
function: def _checkConsistency(self, obj, fixit=0):
      """Check the object's consistency.
        We will make sure that each non None constraint_definition is
        satisfied
      """
      error_list = PropertyExistenceConstraint._checkConsistency(
                                                     self, obj, fixit=fixit)
      blacklisted_list_expression = self.getBlacklistedList()
      expression_context = createExpressionContext(obj)
      blacklisted_list = evaluateExpressionFromString(expression_context,
                                                      blacklisted_list_expression)
      message_id = 'message_invalid_attribute_blacklisted'
      for property_id in self.getConstraintPropertyList():
  
        value = obj.getProperty(property_id)
        if value in blacklisted_list:
          mapping = dict(attribute_name=property_id)
          # Generate error
          error_list.append(self._generateError(obj,
                                                self._getMessage(message_id),
                                                mapping=mapping)
                           )
      return error_list
function_tokens: def _checkConsistency ( self , obj , fixit = 0 ) : error_list = PropertyExistenceConstraint . _checkConsistency ( self , obj , fixit = fixit ) blacklisted_list_expression = self . getBlacklistedList ( ) expression_context = createExpressionContext ( obj ) blacklisted_list = evaluateExpressionFromString ( expression_context , blacklisted_list_expression ) message_id = 'message_invalid_attribute_blacklisted' for property_id in self . getConstraintPropertyList ( ) : value = obj . getProperty ( property_id ) if value in blacklisted_list : mapping = dict ( attribute_name = property_id ) # Generate error error_list . append ( self . _generateError ( obj , self . _getMessage ( message_id ) , mapping = mapping ) ) return error_list