yangys
2024-05-07 1251cce20deab6e388b1e2ff8cdddd2896db162b
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
package com.qianwen.smartman.modules.dnc.context;
 
import com.qianwen.smartman.modules.dnc.entity.DncArtBag;
 
public class DncFileNameProcessRuleContext {
    private String fileName;
    private String directoryPath;
    private DncArtBag artBag;
 
   
    public static class DncFileNameProcessRuleContextBuilder {
        private String fileName;
        private String directoryPath;
        private DncArtBag artBag;
 
        DncFileNameProcessRuleContextBuilder() {
        }
 
        public DncFileNameProcessRuleContextBuilder fileName(final String fileName) {
            this.fileName = fileName;
            return this;
        }
 
        public DncFileNameProcessRuleContextBuilder directoryPath(final String directoryPath) {
            this.directoryPath = directoryPath;
            return this;
        }
 
        public DncFileNameProcessRuleContextBuilder artBag(final DncArtBag artBag) {
            this.artBag = artBag;
            return this;
        }
 
        public DncFileNameProcessRuleContext build() {
            return new DncFileNameProcessRuleContext(this.fileName, this.directoryPath, this.artBag);
        }
 
        public String toString() {
            return "DncFileNameProcessRuleContext.DncFileNameProcessRuleContextBuilder(fileName=" + this.fileName + ", directoryPath=" + this.directoryPath + ", artBag=" + this.artBag + ")";
        }
    }
 
    public void setFileName(final String fileName) {
        this.fileName = fileName;
    }
 
    public void setDirectoryPath(final String directoryPath) {
        this.directoryPath = directoryPath;
    }
 
    public void setArtBag(final DncArtBag artBag) {
        this.artBag = artBag;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof DncFileNameProcessRuleContext) {
            DncFileNameProcessRuleContext other = (DncFileNameProcessRuleContext) o;
            if (other.canEqual(this)) {
                Object this$fileName = getFileName();
                Object other$fileName = other.getFileName();
                if (this$fileName == null) {
                    if (other$fileName != null) {
                        return false;
                    }
                } else if (!this$fileName.equals(other$fileName)) {
                    return false;
                }
                Object this$directoryPath = getDirectoryPath();
                Object other$directoryPath = other.getDirectoryPath();
                if (this$directoryPath == null) {
                    if (other$directoryPath != null) {
                        return false;
                    }
                } else if (!this$directoryPath.equals(other$directoryPath)) {
                    return false;
                }
                Object this$artBag = getArtBag();
                Object other$artBag = other.getArtBag();
                return this$artBag == null ? other$artBag == null : this$artBag.equals(other$artBag);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof DncFileNameProcessRuleContext;
    }
 
    public int hashCode() {
        Object $fileName = getFileName();
        int result = (1 * 59) + ($fileName == null ? 43 : $fileName.hashCode());
        Object $directoryPath = getDirectoryPath();
        int result2 = (result * 59) + ($directoryPath == null ? 43 : $directoryPath.hashCode());
        Object $artBag = getArtBag();
        return (result2 * 59) + ($artBag == null ? 43 : $artBag.hashCode());
    }
 
    public String toString() {
        return "DncFileNameProcessRuleContext(fileName=" + getFileName() + ", directoryPath=" + getDirectoryPath() + ", artBag=" + getArtBag() + ")";
    }
 
    DncFileNameProcessRuleContext(final String fileName, final String directoryPath, final DncArtBag artBag) {
        this.fileName = fileName;
        this.directoryPath = directoryPath;
        this.artBag = artBag;
    }
 
    public static DncFileNameProcessRuleContextBuilder builder() {
        return new DncFileNameProcessRuleContextBuilder();
    }
 
    public String getFileName() {
        return this.fileName;
    }
 
    public String getDirectoryPath() {
        return this.directoryPath;
    }
 
    public DncArtBag getArtBag() {
        return this.artBag;
    }
}