blob: a11525408bf5eb58e9bf5462c7dd8ec7551885a4 (
plain)
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
|
/*
* Copyright (c) 2017 Inocybe Technologies and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
package org.opendaylight.netconf.sal.restconf.impl.jmx;
public class Config {
private Delete delete;
private Post post;
private Get get;
private Put put;
public Delete getDelete() {
return delete;
}
public void setDelete(Delete delete) {
this.delete = delete;
}
public Post getPost() {
return post;
}
public void setPost(Post post) {
this.post = post;
}
public Get getGet() {
return get;
}
public void setGet(Get get) {
this.get = get;
}
public Put getPut() {
return put;
}
public void setPut(Put put) {
this.put = put;
}
@Override
public int hashCode() {
return java.util.Objects.hash(delete, post, get, put);
}
@Override
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || getClass() != obj.getClass()) {
return false;
}
final Config that = (Config) obj;
if (!java.util.Objects.equals(delete, that.delete)) {
return false;
}
if (!java.util.Objects.equals(post, that.post)) {
return false;
}
if (!java.util.Objects.equals(get, that.get)) {
return false;
}
return java.util.Objects.equals(put, that.put);
}
}
|