java.lang.Object
org.jpo.datamodel.DuplicatesQuery
- All Implemented Interfaces:
Query
This class finds duplicates and adds them to a query object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetIndex
(int index) Returns the element specified in the indexint
The number of entries foundgetTitle()
Returns a title for the queryvoid
refresh()
Refreshes the search resultstoString()
returns the title for the search that can be used to display the search results under.
-
Constructor Details
-
DuplicatesQuery
public DuplicatesQuery()
-
-
Method Details
-
getNumberOfResults
public int getNumberOfResults()The number of entries found- Specified by:
getNumberOfResults
in interfaceQuery
- Returns:
- the number of entries found
-
getIndex
Returns the element specified in the index -
getTitle
Returns a title for the query -
toString
returns the title for the search that can be used to display the search results under. The JTree asks for toString() -
refresh
public void refresh()Refreshes the search results
-