@Override
    public boolean equals(Object obj) {
        if (!(obj instanceof Result)) {
            return false;
        }
        Result other = (Result) obj;
        if ((this.statement == null && other.statement != null) || (this.statement != null && !this.statement.equals(other.statement))) {
            return false;
        }
        if ((this.orders == null && other.orders != null) || (this.orders != null && !this.orders.equals(other.orders))) {
            return false;
        }
        return true;
    }