public class SearchConstraints extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_MAX_DEPTH
FIPA default maximum search depth
|
static long |
DEFAULT_MAX_RESULTS
FIPA maximum number of search results
|
Constructor and Description |
---|
SearchConstraints(UniqueIdentifier identifier)
Creates search constraints for directory queries.
|
SearchConstraints(UniqueIdentifier identifier,
long maxDepth,
long maxResults)
Creates search constraints for directory queries.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
UniqueIdentifier |
getIdentifier()
Returns the search identifier.
|
long |
getMaxDepth()
Returns the maximum search depth (if federated directory facilitators are
employed).
|
long |
getMaxResults()
Returns the maximum number of search results.
|
int |
hashCode() |
public static final long DEFAULT_MAX_DEPTH
public static final long DEFAULT_MAX_RESULTS
public SearchConstraints(UniqueIdentifier identifier)
identifier
- the search identifierNullPointerException
- if the identifier is null
public SearchConstraints(UniqueIdentifier identifier, long maxDepth, long maxResults)
identifier
- the search identifiermaxDepth
- the maximum search depthmaxResults
- the maximum number of search resultsNullPointerException
- if the identifier is null
public UniqueIdentifier getIdentifier()
public long getMaxDepth()
public long getMaxResults()
Copyright © Aimpulse Intelligent Systems GmbH
All rights reserved.