blob: fe510f51b6ccd6aa11d1aff69cf27aa5fde9c3cf (
plain) (
blame)
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
|
package tools.refinery.language.web.xtext.server;
import java.util.Objects;
import org.eclipse.xtext.web.server.IServiceResult;
public class PongResult implements IServiceResult {
private String pong;
public PongResult(String pong) {
super();
this.pong = pong;
}
public String getPong() {
return pong;
}
public void setPong(String pong) {
this.pong = pong;
}
@Override
public int hashCode() {
return Objects.hash(pong);
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
PongResult other = (PongResult) obj;
return Objects.equals(pong, other.pong);
}
@Override
public String toString() {
return "PongResult [pong=" + pong + "]";
}
}
|