yangys
2024-05-07 9b677ea5c6978788d135fc15da3d78c5a93789c2
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
package com.qianwen.smartman.modules.dnc.dto;
 
public class DefaultDncFileNameProcessRule implements DncFileNameProcessRule {
    public Integer extraSource;
    public String handleRegexp;
    public String replaceString;
    public boolean suffix;
    public String connectors;
 
    public void setExtraSource(final Integer extraSource) {
        this.extraSource = extraSource;
    }
 
    public void setHandleRegexp(final String handleRegexp) {
        this.handleRegexp = handleRegexp;
    }
 
    public void setReplaceString(final String replaceString) {
        this.replaceString = replaceString;
    }
 
    public void setSuffix(final boolean suffix) {
        this.suffix = suffix;
    }
 
    public void setConnectors(final String connectors) {
        this.connectors = connectors;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof DefaultDncFileNameProcessRule) {
            DefaultDncFileNameProcessRule other = (DefaultDncFileNameProcessRule) o;
            if (other.canEqual(this) && isSuffix() == other.isSuffix()) {
                Object this$extraSource = getExtraSource();
                Object other$extraSource = other.getExtraSource();
                if (this$extraSource == null) {
                    if (other$extraSource != null) {
                        return false;
                    }
                } else if (!this$extraSource.equals(other$extraSource)) {
                    return false;
                }
                Object this$handleRegexp = getHandleRegexp();
                Object other$handleRegexp = other.getHandleRegexp();
                if (this$handleRegexp == null) {
                    if (other$handleRegexp != null) {
                        return false;
                    }
                } else if (!this$handleRegexp.equals(other$handleRegexp)) {
                    return false;
                }
                Object this$replaceString = getReplaceString();
                Object other$replaceString = other.getReplaceString();
                if (this$replaceString == null) {
                    if (other$replaceString != null) {
                        return false;
                    }
                } else if (!this$replaceString.equals(other$replaceString)) {
                    return false;
                }
                Object this$connectors = getConnectors();
                Object other$connectors = other.getConnectors();
                return this$connectors == null ? other$connectors == null : this$connectors.equals(other$connectors);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof DefaultDncFileNameProcessRule;
    }
 
    public int hashCode() {
        int result = (1 * 59) + (isSuffix() ? 79 : 97);
        Object $extraSource = getExtraSource();
        int result2 = (result * 59) + ($extraSource == null ? 43 : $extraSource.hashCode());
        Object $handleRegexp = getHandleRegexp();
        int result3 = (result2 * 59) + ($handleRegexp == null ? 43 : $handleRegexp.hashCode());
        Object $replaceString = getReplaceString();
        int result4 = (result3 * 59) + ($replaceString == null ? 43 : $replaceString.hashCode());
        Object $connectors = getConnectors();
        return (result4 * 59) + ($connectors == null ? 43 : $connectors.hashCode());
    }
 
    public String toString() {
        return "DefaultDncFileNameProcessRule(extraSource=" + getExtraSource() + ", handleRegexp=" + getHandleRegexp() + ", replaceString=" + getReplaceString() + ", suffix=" + isSuffix() + ", connectors=" + getConnectors() + ")";
    }
 
    public Integer getExtraSource() {
        return this.extraSource;
    }
 
    public String getHandleRegexp() {
        return this.handleRegexp;
    }
 
    public String getReplaceString() {
        return this.replaceString;
    }
 
    public boolean isSuffix() {
        return this.suffix;
    }
 
    public String getConnectors() {
        return this.connectors;
    }
}