Package com.luciad.opensearch.model
Class TLcdOpenSearchAtomFeed
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.format.metadata.atom.model.TLcdAtomFeed
com.luciad.opensearch.model.TLcdOpenSearchAtomFeed
- All Implemented Interfaces:
ILcdDataObject,ILcdCloneable,ILcdDeepCloneable,Cloneable
ATOM feed with OpenSearch elements.
- Since:
- 2017.0
-
Field Summary
Fields inherited from class com.luciad.format.metadata.atom.model.TLcdAtomFeed
ANY_PROPERTY, AUTHORS_PROPERTY, BASE_PROPERTY, CATEGORIES_PROPERTY, CONTRIBUTORS_PROPERTY, ENTRIES_PROPERTY, GENERATORS_PROPERTY, ICONS_PROPERTY, IDS_PROPERTY, LANGUAGE_PROPERTY, LINKS_PROPERTY, LOGOS_PROPERTY, RIGHTS_PROPERTY, SUBTITLES_PROPERTY, TITLES_PROPERTY, UPDATED_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the maximum amount of items contained in this feed.getQuery()Returns the query triggering creation of this feed.longReturns the index of the first entry in this feed, respective to the total amount of matched results.longReturns the total number of the results for the associated query.voidsetItemsPerPage(long aValue) Sets the maximum amount of items contained in this feed.voidsetQuery(TLcdOpenSearchQuery aQuery) Sets the query triggering creation of this feed.voidsetStartIndex(long aValue) Sets the index of the first entry in this feed, respective to the total amount of matched results.voidsetTotalResults(long aValue) Sets the total number of the results for the associated query.Methods inherited from class com.luciad.format.metadata.atom.model.TLcdAtomFeed
getAny, getAuthors, getBase, getCategories, getContributors, getEntries, getGenerators, getIcons, getIds, getLanguage, getLinks, getLogos, getRights, getSubtitles, getTitles, getUpdated, setBase, setLanguage
-
Constructor Details
-
TLcdOpenSearchAtomFeed
public TLcdOpenSearchAtomFeed()
-
-
Method Details
-
getQuery
Returns the query triggering creation of this feed.- Returns:
- the associated query
-
setQuery
Sets the query triggering creation of this feed.- Parameters:
aQuery- the associated query
-
getTotalResults
public long getTotalResults()Returns the total number of the results for the associated query.- Returns:
- the total results
-
setTotalResults
public void setTotalResults(long aValue) Sets the total number of the results for the associated query.- Parameters:
aValue- the total number of results
-
getStartIndex
public long getStartIndex()Returns the index of the first entry in this feed, respective to the total amount of matched results.- Returns:
- the record index, with 1 meaning the first record
-
setStartIndex
public void setStartIndex(long aValue) Sets the index of the first entry in this feed, respective to the total amount of matched results.- Parameters:
aValue- the record index, with 1 meaning the first record
-
getItemsPerPage
public long getItemsPerPage()Returns the maximum amount of items contained in this feed.- Returns:
- the amount of items, less than or equal to the total amount of matched results
-
setItemsPerPage
public void setItemsPerPage(long aValue) Sets the maximum amount of items contained in this feed.- Parameters:
aValue- the amount of items, less than or equal to the total amount of matched results
-