@Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + ((this.method == null) ? 0 : this.method.hashCode()); result = prime * result + ((this.params == null) ? 0 : this.params.hashCode()); return result; }
@Override public boolean equals(final Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; if (!super.equals(obj)) return false; RequestMessage other = (RequestMessage) obj; if (this.method == null) { if (other.method != null) return false; } else if (!this.method.equals(other.method)) return false; if (this.params == null) { if (other.params != null) return false; } else if (!this.params.equals(other.params)) return false; return true; }
@Override public boolean equals(final Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; if (!super.equals(obj)) return false; RequestMessage other = (RequestMessage) obj; if (this.method == null) { if (other.method != null) return false; } else if (!this.method.equals(other.method)) return false; if (this.params == null) { if (other.params != null) return false; } else if (!this.params.equals(other.params)) return false; return true; }
@Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + ((this.method == null) ? 0 : this.method.hashCode()); result = prime * result + ((this.params == null) ? 0 : this.params.hashCode()); return result; }
@Override public boolean equals(final Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; if (!super.equals(obj)) return false; ResponseMessage other = (ResponseMessage) obj; if (this.result == null) { if (other.result != null) return false; } else if (!this.result.equals(other.result)) return false; if (this.error == null) { if (other.error != null) return false; } else if (!this.error.equals(other.error)) return false; return true; }
@Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + ((this.result == null) ? 0 : this.result.hashCode()); result = prime * result + ((this.error == null) ? 0 : this.error.hashCode()); return result; }
@Override public boolean equals(final Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; if (!super.equals(obj)) return false; ResponseMessage other = (ResponseMessage) obj; if (this.result == null) { if (other.result != null) return false; } else if (!this.result.equals(other.result)) return false; if (this.error == null) { if (other.error != null) return false; } else if (!this.error.equals(other.error)) return false; return true; }
@Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + ((this.result == null) ? 0 : this.result.hashCode()); result = prime * result + ((this.error == null) ? 0 : this.error.hashCode()); return result; }