edu.internet2.middleware.subject.SearchPageResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grouper Show documentation
Show all versions of grouper Show documentation
Internet2 Groups Management Toolkit
/**
* Copyright 2014 Internet2
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @author mchyzer
* $Id$
*/
package edu.internet2.middleware.subject;
import java.util.Set;
/**
* page of results
*/
public class SearchPageResult {
/**
*
*/
public SearchPageResult() {
}
/**
* @param tooManyResults1
* @param results1
*/
public SearchPageResult(boolean tooManyResults1, Set results1) {
super();
this.tooManyResults = tooManyResults1;
this.results = results1;
}
/** if too many results were found */
private boolean tooManyResults = false;
/**
* results of search
*/
private Set results = null;
/**
* if too many results were found
* @return the tooManyResults
*/
public boolean isTooManyResults() {
return this.tooManyResults;
}
/**
* if too many results were found
* @param tooManyResults1 the tooManyResults to set
*/
public void setTooManyResults(boolean tooManyResults1) {
this.tooManyResults = tooManyResults1;
}
/**
* results that were found, might not be all
* @return the results
*/
public Set getResults() {
return this.results;
}
/**
* results that were found, might not be all
* @param results1 the results to set
*/
public void setResults(Set results1) {
this.results = results1;
}
}