public class SearchConstraints extends java.lang.Object implements ISearchConstraints, java.io.Serializable
| Modifier and Type | Field and Description | 
|---|---|
protected int | 
maxdepth
Attribute for slot max-depth. 
 | 
protected int | 
maxresults
Attribute for slot max-results. 
 | 
protected java.lang.String | 
searchid
Attribute for slot search-id. 
 | 
| Constructor and Description | 
|---|
SearchConstraints()
Default Constructor. 
 | 
SearchConstraints(int maxresults,
                 int maxdepth)
Default Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
getMaxDepth()
Get the max-depth of this SearchConstraints. 
 | 
int | 
getMaxResults()
Get the max-results of this SearchConstraints. 
 | 
java.lang.String | 
getSearchId()
Get the search-id of this SearchConstraints. 
 | 
void | 
setMaxDepth(int maxdepth)
Set the max-depth of this SearchConstraints. 
 | 
void | 
setMaxResults(int maxresults)
Set the max-results of this SearchConstraints. 
 | 
void | 
setSearchId(java.lang.String searchid)
Set the search-id of this SearchConstraints. 
 | 
java.lang.String | 
toString()
Get a string representation of this SearchConstraints. 
 | 
protected java.lang.String searchid
protected int maxresults
protected int maxdepth
public SearchConstraints()
public SearchConstraints(int maxresults,
                         int maxdepth)
public java.lang.String getSearchId()
getSearchId in interface ISearchConstraintspublic void setSearchId(java.lang.String searchid)
searchid - the value to be setpublic int getMaxResults()
getMaxResults in interface ISearchConstraintspublic void setMaxResults(int maxresults)
maxresults - the value to be setpublic int getMaxDepth()
getMaxDepth in interface ISearchConstraintspublic void setMaxDepth(int maxdepth)
maxdepth - the value to be setpublic java.lang.String toString()
toString in class java.lang.Object