Class BulkUpdateError

    • Constructor Detail

      • BulkUpdateError

        public BulkUpdateError()
    • Method Detail

      • getType

        public String getType()
        The type of error that was encountered.
        Returns:
        the type of error that was encountered
        See Also:
        BulkUpdateErrorType
      • getRecordType

        public String getRecordType()
        If type is BulkUpdateErrorType.RECORD, this value should hold the domain/type of the record that experienced the error.
        Returns:
        the domain/type of the specific record that encountered an error
      • getRecordId

        public String getRecordId()
        If type is BulkUpdateErrorType.RECORD, this value should hold the ID of the record that experienced the error.
        Returns:
        the ID of the specific record that encountered an error
      • getDescription

        public String getDescription()
        A message describing the error encountered.
        Returns:
        a message describing the error encountered
      • getStackTrace

        public String getStackTrace()
        The string representation of the stacktrace.
        Returns:
        the string representation of the stacktrace
      • setType

        public BulkUpdateError setType​(String type)
        The type of error that was encountered.
        Parameters:
        type - the type of error that was encountered
        Returns:
        this.
        See Also:
        BulkUpdateErrorType
      • setRecordType

        public BulkUpdateError setRecordType​(String recordType)
        If type is BulkUpdateErrorType.RECORD, this value should hold the domain/type of the record that experienced the error.
        Parameters:
        recordType - the domain/type of the specific record that encountered an error
        Returns:
        this.
      • setRecordId

        public BulkUpdateError setRecordId​(String recordId)
        If type is BulkUpdateErrorType.RECORD, this value should hold the ID of the record that experienced the error.
        Parameters:
        recordId - the ID of the specific record that encountered an error
        Returns:
        this.
      • setDescription

        public BulkUpdateError setDescription​(String description)
        A message describing the error encountered.
        Parameters:
        description - a message describing the error encountered
        Returns:
        this.
      • setStackTrace

        public BulkUpdateError setStackTrace​(String stackTrace)
        The string representation of the stacktrace.
        Parameters:
        stackTrace - the string representation of the stacktrace
        Returns:
        this.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object