@Test public void testToString() { filter.setEquals(value); filter.setNotEquals(value); filter.setSpecified(true); filter.setIn(new LinkedList<>()); filter.setNotIn(new LinkedList<>()); filter.setGreaterThan(value); filter.setLessThan(value); filter.setGreaterThanOrEqual(value); filter.setLessThanOrEqual(value); String str = value.toString(); assertThat(filter.toString()).isEqualTo("RangeFilter [equals=" + str + ", notEquals=" + str + ", specified=true, in=[], notIn=[], greaterThan=" + str + ", lessThan=" + str + ", greaterThanOrEqual=" + str + ", lessThanOrEqual=" + str + "]"); }
@Override public String toString() { return getFilterName() + " [" + (getEquals() != null ? "equals=" + getEquals() + ", " : "") + (getNotEquals() != null ? "notEquals=" + getNotEquals() + ", " : "") + (getSpecified() != null ? "specified=" + getSpecified() + ", " : "") + (getIn() != null ? "in=" + getIn() + ", " : "") + (getNotIn() != null ? "notIn=" + getNotIn() + ", " : "") + (getGreaterThan() != null ? "greaterThan=" + getGreaterThan() + ", " : "") + (getLessThan() != null ? "lessThan=" + getLessThan() + ", " : "") + (getGreaterThanOrEqual() != null ? "greaterThanOrEqual=" + getGreaterThanOrEqual() + ", " : "") + (getLessThanOrEqual() != null ? "lessThanOrEqual=" + getLessThanOrEqual() : "") + "]"; }
RangeFilter extends Filter<FIELD_TYPE> { @Override public String toString() { return getFilterName() + " [" + (getEquals() != null ? "equals=" + getEquals() + ", " : "") + (getNotEquals() != null ? "notEquals=" + getNotEquals() + ", " : "") + (getSpecified() != null ? "specified=" + getSpecified() + ", " : "") + (getIn() != null ? "in=" + getIn() + ", " : "") + (getNotIn() != null ? "notIn=" + getNotIn() + ", " : "") + (getGreaterThan() != null ? "greaterThan=" + getGreaterThan() + ", " : "") + (getLessThan() != null ? "lessThan=" + getLessThan() + ", " : "") + (getGreaterThanOrEqual() != null ? "greaterThanOrEqual=" + getGreaterThanOrEqual() + ", " : "") + (getLessThanOrEqual() != null ? "lessThanOrEqual=" + getLessThanOrEqual() : "") + "]"; } }
RangeFilter extends Filter<FIELD_TYPE> { @Override public String toString() { return getFilterName() + " [" + (getEquals() != null ? "equals=" + getEquals() + ", " : "") + (getNotEquals() != null ? "notEquals=" + getNotEquals() + ", " : "") + (getSpecified() != null ? "specified=" + getSpecified() + ", " : "") + (getIn() != null ? "in=" + getIn() + ", " : "") + (getNotIn() != null ? "notIn=" + getNotIn() + ", " : "") + (getGreaterThan() != null ? "greaterThan=" + getGreaterThan() + ", " : "") + (getLessThan() != null ? "lessThan=" + getLessThan() + ", " : "") + (getGreaterThanOrEqual() != null ? "greaterThanOrEqual=" + getGreaterThanOrEqual() + ", " : "") + (getLessThanOrEqual() != null ? "lessThanOrEqual=" + getLessThanOrEqual() : "") + "]"; } RangeFilter();  RangeFilter(final RangeFilter<FIELD_TYPE> filter); }
RangeFilter extends Filter<FIELD_TYPE> { @Override public String toString() { return getFilterName() + " [" + (getEquals() != null ? "equals=" + getEquals() + ", " : "") + (getNotEquals() != null ? "notEquals=" + getNotEquals() + ", " : "") + (getSpecified() != null ? "specified=" + getSpecified() + ", " : "") + (getIn() != null ? "in=" + getIn() + ", " : "") + (getNotIn() != null ? "notIn=" + getNotIn() + ", " : "") + (getGreaterThan() != null ? "greaterThan=" + getGreaterThan() + ", " : "") + (getLessThan() != null ? "lessThan=" + getLessThan() + ", " : "") + (getGreaterThanOrEqual() != null ? "greaterThanOrEqual=" + getGreaterThanOrEqual() + ", " : "") + (getLessThanOrEqual() != null ? "lessThanOrEqual=" + getLessThanOrEqual() : "") + "]"; } RangeFilter();  RangeFilter(final RangeFilter<FIELD_TYPE> filter); @Override RangeFilter<FIELD_TYPE> copy(); FIELD_TYPE getGreaterThan(); RangeFilter<FIELD_TYPE> setGreaterThan(FIELD_TYPE greaterThan); FIELD_TYPE getLessThan(); RangeFilter<FIELD_TYPE> setLessThan(FIELD_TYPE lessThan); FIELD_TYPE getGreaterThanOrEqual(); RangeFilter<FIELD_TYPE> setGreaterThanOrEqual(FIELD_TYPE greaterThanOrEqual); FIELD_TYPE getLessThanOrEqual(); RangeFilter<FIELD_TYPE> setLessThanOrEqual(FIELD_TYPE lessThanOrEqual); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString(); }
RangeFilter extends Filter<FIELD_TYPE> { @Override public String toString() { return getFilterName() + " [" + (getEquals() != null ? "equals=" + getEquals() + ", " : "") + (getNotEquals() != null ? "notEquals=" + getNotEquals() + ", " : "") + (getSpecified() != null ? "specified=" + getSpecified() + ", " : "") + (getIn() != null ? "in=" + getIn() + ", " : "") + (getNotIn() != null ? "notIn=" + getNotIn() + ", " : "") + (getGreaterThan() != null ? "greaterThan=" + getGreaterThan() + ", " : "") + (getLessThan() != null ? "lessThan=" + getLessThan() + ", " : "") + (getGreaterThanOrEqual() != null ? "greaterThanOrEqual=" + getGreaterThanOrEqual() + ", " : "") + (getLessThanOrEqual() != null ? "lessThanOrEqual=" + getLessThanOrEqual() : "") + "]"; } RangeFilter();  RangeFilter(final RangeFilter<FIELD_TYPE> filter); @Override RangeFilter<FIELD_TYPE> copy(); FIELD_TYPE getGreaterThan(); RangeFilter<FIELD_TYPE> setGreaterThan(FIELD_TYPE greaterThan); FIELD_TYPE getLessThan(); RangeFilter<FIELD_TYPE> setLessThan(FIELD_TYPE lessThan); FIELD_TYPE getGreaterThanOrEqual(); RangeFilter<FIELD_TYPE> setGreaterThanOrEqual(FIELD_TYPE greaterThanOrEqual); FIELD_TYPE getLessThanOrEqual(); RangeFilter<FIELD_TYPE> setLessThanOrEqual(FIELD_TYPE lessThanOrEqual); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString();  }