yangys
2024-03-28 13ada1093cb8de6e31a718d2222429ded70133c8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
package com.qianwen.core.excel.extend.vo;
 
import java.util.HashSet;
import java.util.Set;
 
/* loaded from: blade-starter-excel-9.3.0.0-SNAPSHOT.jar:org/springblade/core/excel/extend/vo/ErrorMessage.class */
public class ErrorMessage {
    private Long lineNum;
    private Set<String> errors;
 
    public void setLineNum(final Long lineNum) {
        this.lineNum = lineNum;
    }
 
    public void setErrors(final Set<String> errors) {
        this.errors = errors;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof ErrorMessage) {
            ErrorMessage other = (ErrorMessage) o;
            if (other.canEqual(this)) {
                Object this$lineNum = getLineNum();
                Object other$lineNum = other.getLineNum();
                if (this$lineNum == null) {
                    if (other$lineNum != null) {
                        return false;
                    }
                } else if (!this$lineNum.equals(other$lineNum)) {
                    return false;
                }
                Object this$errors = getErrors();
                Object other$errors = other.getErrors();
                return this$errors == null ? other$errors == null : this$errors.equals(other$errors);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof ErrorMessage;
    }
 
    public int hashCode() {
        Object $lineNum = getLineNum();
        int result = (1 * 59) + ($lineNum == null ? 43 : $lineNum.hashCode());
        Object $errors = getErrors();
        return (result * 59) + ($errors == null ? 43 : $errors.hashCode());
    }
 
    public String toString() {
        return "ErrorMessage(lineNum=" + getLineNum() + ", errors=" + getErrors() + ")";
    }
 
    public ErrorMessage() {
        this.errors = new HashSet();
    }
 
    public ErrorMessage(final Long lineNum, final Set<String> errors) {
        this.errors = new HashSet();
        this.lineNum = lineNum;
        this.errors = errors;
    }
 
    public Long getLineNum() {
        return this.lineNum;
    }
 
    public Set<String> getErrors() {
        return this.errors;
    }
 
    public ErrorMessage(Set<String> errors) {
        this.errors = new HashSet();
        this.errors = errors;
    }
 
    public ErrorMessage(String error) {
        this.errors = new HashSet();
        HashSet<String> objects = new HashSet<>();
        objects.add(error);
        this.errors = objects;
    }
}