|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jafer.zclient.SearchResult
public class SearchResult
This class represents a search result returned by a search performed on a session connection to a SRW/ZClient server
Field Summary | |
---|---|
private java.lang.String |
databaseName
Stores a reference to the database name this result set is against |
private JaferException |
diagnostic
Stores a reference to the diagnostic information returned if the search failed |
private int |
noOfResults
Stores a reference to the number of results returned from this database. |
Constructor Summary | |
---|---|
SearchResult()
|
Method Summary | |
---|---|
java.lang.String |
getDatabaseName()
Return the name of the database that this result set represents |
JaferException |
getDiagnostic()
Return the diagnostic if the search failed for this database |
int |
getNoOfResults()
Return the number of results found for this database. |
void |
setDatabaseName(java.lang.String databaseName)
Set the name of the database that this result set represents |
void |
setDiagnostic(JaferException diagnostic)
Set the diagnostic if the search failed for this database |
void |
setNoOfResults(int noOfResults)
Set the number of results found for this database |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.String databaseName
private int noOfResults
private JaferException diagnostic
Constructor Detail |
---|
public SearchResult()
Method Detail |
---|
public java.lang.String getDatabaseName()
public void setDatabaseName(java.lang.String databaseName)
databaseName
- The name of the databasepublic int getNoOfResults()
public void setNoOfResults(int noOfResults)
noOfResults
- The number of results foundpublic JaferException getDiagnostic()
public void setDiagnostic(JaferException diagnostic)
diagnostic
- The diagnostic record
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |