@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((StatusCode == null) ? 0 : StatusCode.hashCode()); result = prime * result + ((AddedNodeId == null) ? 0 : AddedNodeId.hashCode()); return result; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; AddNodesResult other = (AddNodesResult) obj; if (StatusCode == null) { if (other.StatusCode != null) return false; } else if (!StatusCode.equals(other.StatusCode)) return false; if (AddedNodeId == null) { if (other.AddedNodeId != null) return false; } else if (!AddedNodeId.equals(other.AddedNodeId)) return false; return true; }