java.lang.Object
com.fetish.directory.SearchCriteria
- All Implemented Interfaces:
- SearchCriteriaInterface, java.io.Serializable
- public class SearchCriteria
- extends java.lang.Object
- implements SearchCriteriaInterface, java.io.Serializable
Set of constraints for a given search process.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
service
private java.lang.Class[] service
entries
private Entry[] entries
id
private ServiceID id
filter
private ServiceItemFilter filter
maxMatches
private int maxMatches
DEFAULT_MAX_MATCHES
public static int DEFAULT_MAX_MATCHES
SearchCriteria
public SearchCriteria(java.lang.Class[] service,
Entry[] entries,
ServiceID id)
SearchCriteria
public SearchCriteria(java.lang.Class[] service,
Entry[] entries,
ServiceID id,
ServiceItemFilter filter,
int maxMatches)
getService
public java.lang.Class[] getService()
- Specified by:
getService in interface SearchCriteriaInterface
getMaxMatches
public int getMaxMatches()
- Specified by:
getMaxMatches in interface SearchCriteriaInterface
toServiceTemplate
public ServiceTemplate toServiceTemplate()
- Specified by:
toServiceTemplate in interface SearchCriteriaInterface