@Test public void testEquals() throws Exception { EqualsVerifier.forClass(BatchQuery.class) .allFieldsShouldBeUsed() .verify(); }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; BatchQuery that = (BatchQuery) o; if (query != null ? !query.equals(that.query) : that.query != null) return false; if (batchQueryKind != that.batchQueryKind) return false; if (variables != null ? !variables.equals(that.variables) : that.variables != null) return false; return variableTypes != null ? variableTypes.equals(that.variableTypes) : that.variableTypes == null; }
BatchQuery { @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; BatchQuery that = (BatchQuery) o; if (query != null ? !query.equals(that.query) : that.query != null) return false; if (batchQueryKind != that.batchQueryKind) return false; if (variables != null ? !variables.equals(that.variables) : that.variables != null) return false; return variableTypes != null ? variableTypes.equals(that.variableTypes) : that.variableTypes == null; } }
BatchQuery { @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; BatchQuery that = (BatchQuery) o; if (query != null ? !query.equals(that.query) : that.query != null) return false; if (batchQueryKind != that.batchQueryKind) return false; if (variables != null ? !variables.equals(that.variables) : that.variables != null) return false; return variableTypes != null ? variableTypes.equals(that.variableTypes) : that.variableTypes == null; } private  BatchQuery(String query, BatchQueryKind batchQueryKind, List<Object> variables, List<CqlType> variableTypes); }
BatchQuery { @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; BatchQuery that = (BatchQuery) o; if (query != null ? !query.equals(that.query) : that.query != null) return false; if (batchQueryKind != that.batchQueryKind) return false; if (variables != null ? !variables.equals(that.variables) : that.variables != null) return false; return variableTypes != null ? variableTypes.equals(that.variableTypes) : that.variableTypes == null; } private  BatchQuery(String query, BatchQueryKind batchQueryKind, List<Object> variables, List<CqlType> variableTypes); String getQuery(); BatchQueryKind getBatchQueryKind(); List<Object> getVariables(); List<CqlType> getVariableTypes(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode(); static BatchQueryBuilder builder(); }
BatchQuery { @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; BatchQuery that = (BatchQuery) o; if (query != null ? !query.equals(that.query) : that.query != null) return false; if (batchQueryKind != that.batchQueryKind) return false; if (variables != null ? !variables.equals(that.variables) : that.variables != null) return false; return variableTypes != null ? variableTypes.equals(that.variableTypes) : that.variableTypes == null; } private  BatchQuery(String query, BatchQueryKind batchQueryKind, List<Object> variables, List<CqlType> variableTypes); String getQuery(); BatchQueryKind getBatchQueryKind(); List<Object> getVariables(); List<CqlType> getVariableTypes(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode(); static BatchQueryBuilder builder();  }