public class AdminSuggestionSearchResult
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
maxGroupSize
maxGroupSize
|
private int |
offset
offset
|
private AdminSuggestion |
search
search - the search that was used to get the results
|
private AdminSuggestion[] |
suggestions
the suggestions retrieved
|
private int |
totalSetSize
totalSetSize
|
Constructor and Description |
---|
AdminSuggestionSearchResult()
Constructor
|
AdminSuggestionSearchResult(com.workingdogs.village.Record r,
com.konakart.db.KKCriteria c)
Instantiates the attributes of the AdminSuggestionSearchResult object from a Record object
|
Modifier and Type | Method and Description |
---|---|
int |
getMaxGroupSize() |
int |
getOffset() |
AdminSuggestion |
getSearch() |
AdminSuggestion[] |
getSuggestions() |
int |
getTotalSetSize() |
void |
setMaxGroupSize(int maxGroupSize) |
void |
setOffset(int offset) |
void |
setSearch(AdminSuggestion search) |
void |
setSuggestions(AdminSuggestion[] suggestions) |
void |
setTotalSetSize(int totalSetSize) |
java.lang.String |
toString() |
java.lang.String |
toStringBrief() |
private AdminSuggestion search
private AdminSuggestion[] suggestions
private int offset
private int maxGroupSize
private int totalSetSize
public AdminSuggestionSearchResult()
public AdminSuggestionSearchResult(com.workingdogs.village.Record r, com.konakart.db.KKCriteria c) throws com.workingdogs.village.DataSetException
r
- Record containing datac
- Criteria containing column namescom.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringBrief()
public AdminSuggestion getSearch()
public void setSearch(AdminSuggestion search)
search
- the search to setpublic int getOffset()
public void setOffset(int offset)
offset
- the offset to setpublic int getMaxGroupSize()
public void setMaxGroupSize(int maxGroupSize)
maxGroupSize
- the maxGroupSize to setpublic int getTotalSetSize()
public void setTotalSetSize(int totalSetSize)
totalSetSize
- the totalSetSize to setpublic AdminSuggestion[] getSuggestions()
public void setSuggestions(AdminSuggestion[] suggestions)
suggestions
- the suggestions to setCopyright © 2018 DS Data Systems UK Ltd.