/** * {@inheritDoc} * * @see java.lang.Object#equals(java.lang.Object) */ @Override public boolean equals( Object obj ) { if (obj == this) return true; if (this.getClass().isInstance(obj)) { FullTextSearchRequest that = (FullTextSearchRequest)obj; if (!this.expression().equals(that.expression())) return false; if (!this.workspace().equals(that.workspace())) return false; if (this.offset() != that.offset()) return false; if (this.maxResults() != that.maxResults()) return false; return true; } return false; }