(self, key)
Backward compatibilty with previous tuple
    message returned by Constraint
Backward compatibilty with previous tuple
    message returned by Constraint
Backward compatibilty with previous tuple message returned by Constraint
def __getitem__(self, key):
    """
    Backward compatibilty with previous tuple
    message returned by Constraint
    """
    if key == 0:
      return self.object_relative_url
    elif key == 1:
      return '%s inconsistency' % self.class_name
    elif key == 2:
      return 104
    elif key in (4, -1):
      return self.description
    else:
      return self.getTranslatedMessage()
def __getitem__ ( self , key ) : if key == 0 : return self . object_relative_url elif key == 1 : return '%s inconsistency' % self . class_name elif key == 2 : return 104 elif key in ( 4 , - 1 ) : return self . description else : return self . getTranslatedMessage ( )