|
Oracle Secure Enterprise Search Java API Reference 10g Release 1 (10.1.8) B32260-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.search.query.webservice.client.ResultElement
ResultElement encapsulates an element (document) information in the hit-list.
Constructor Summary | |
ResultElement() |
|
ResultElement(java.lang.String author, java.lang.String description, java.lang.String url, java.lang.String snippet, java.lang.String title, java.util.Date lastModified, java.lang.String mimetype, java.lang.Integer score, java.lang.Integer docID, java.lang.String language, java.lang.Integer contentLength, java.lang.Long signature, java.lang.String infoSourceID, java.lang.String infoSourcePath, DataGroup[] groups, java.lang.Boolean isDuplicate, java.lang.Boolean hasDuplicate, CustomAttribute[] customAttributes, java.lang.String fedID) |
Method Summary | |
java.lang.String |
getAuthor() Returns the athor of the document. |
java.lang.Integer |
getContentLength() Returns the content length of the document. |
CustomAttribute[] |
getCustomAttributes() Returns the non-default attributes of the document requested in the search methods. |
java.lang.String |
getDescription() Returns the description of the document. |
java.lang.Integer |
getDocID() Returns the ID of the document. |
java.lang.String |
getFedID() Returns the ID of the federated instance to which the document belongs. |
DataGroup[] |
getGroups() Returns the data groups to which the document belongs. |
java.lang.Boolean |
getHasDuplicate() Returns a boolean value indicating if the document has one or more duplicate documents in the hit-list. |
java.lang.String |
getInfoSourceID() Returns the infosource ID of the document. |
java.lang.String |
getInfoSourcePath() Returns the infosource path of the document. |
java.lang.Boolean |
getIsDuplicate() Returns a boolean value indicating if the document is a duplicate document of another document in the hit-list. |
java.lang.String |
getLanguage() Returns the language of the document. |
java.util.Date |
getLastModified() Returns the last modified date of the document. |
java.lang.String |
getMimetype() Returns the mime type of the document. |
java.lang.Integer |
getScore() Returns the relevance score of the document. |
java.lang.Long |
getSignature() Returns the signature of the document. |
java.lang.String |
getSnippet() Returns keywords in context (KWIC) of the document for the given query. |
java.lang.String |
getTitle() Returns the title of the document. |
java.lang.String |
getUrl() Returns the URL to access the document. |
void |
setAuthor(java.lang.String author) Sets the author for the document. |
void |
setContentLength(java.lang.Integer contentLength) Sets the content length of the document. |
void |
setCustomAttributes(CustomAttribute[] customAttributes) Sets custom (non-default) attributes of the document. |
void |
setDescription(java.lang.String description) Sets the description for the document. |
void |
setDocID(java.lang.Integer docID) Sets the ID of the document. |
void |
setFedID(java.lang.String fedID) Sets the ID of the federated instance to which the document belongs. |
void |
setGroups(DataGroup[] groups) Sets the data groups to which the document belongs. |
void |
setHasDuplicate(java.lang.Boolean hasDuplicate) Sets the boolean value indicating if the document has one or more duplicate documents in the hit-list. |
void |
setInfoSourceID(java.lang.String infoSourceID) Sets the infosource ID ofthe document. |
void |
setInfoSourcePath(java.lang.String infoSourcePath) Sets the infosource path of the document. |
void |
setIsDuplicate(java.lang.Boolean isDuplicate) Sets the boolean value indicating if the document is duplicate of another document in the hit-list. |
void |
setLanguage(java.lang.String language) Sets the language of the document. |
void |
setLastModified(java.util.Date lastModified) Sets the last modified date for the document. |
void |
setMimetype(java.lang.String mimetype) Sets the mime type for the document. |
void |
setScore(java.lang.Integer score) Sets the relevance score for the document. |
void |
setSignature(java.lang.Long signature) Sets the signature of the document. |
void |
setSnippet(java.lang.String snippet) Sets the keywords in context (KWIC) for the document for a given query. |
void |
setTitle(java.lang.String title) Sets the title for the document. |
void |
setUrl(java.lang.String url) Sets the URL to access the document. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ResultElement()
public ResultElement(java.lang.String author, java.lang.String description, java.lang.String url, java.lang.String snippet, java.lang.String title, java.util.Date lastModified, java.lang.String mimetype, java.lang.Integer score, java.lang.Integer docID, java.lang.String language, java.lang.Integer contentLength, java.lang.Long signature, java.lang.String infoSourceID, java.lang.String infoSourcePath, DataGroup[] groups, java.lang.Boolean isDuplicate, java.lang.Boolean hasDuplicate, CustomAttribute[] customAttributes, java.lang.String fedID)
author
- author of the documenturl
- URL to access the documenttitle
- title of the documentlastModified
- last modified date of the documentmimetype
- mime type of the documentscore
- relevance score of the documentdocID
- ID of the documentlanguage
- language of the documentcontentLength
- size of the documentsignature
- signature of the documentinfoSourceID
- infosource ID of the documentinfoSourcePath
- infosource path of the documentgroups
- source groups to which the documents belongsisDuplicate
- boolean value indicating if the document is a duplicate of another document in the hit-listhasDuplicate
- boolean value indicating if the document has one or more duplicates in the hit-listcustomAttributes
- custom (non-default) atributes of the document that were requested in the search methodsfedID
- ID of the federated instance to which the document belongsMethod Detail |
public java.lang.String getAuthor()
public void setAuthor(java.lang.String author)
author
- author of the documentpublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- description of the documentpublic java.lang.String getUrl()
public void setUrl(java.lang.String url)
url
- url of the documentpublic java.lang.String getSnippet()
public void setSnippet(java.lang.String snippet)
snippet
- keywords in context of the document for a given querypublic java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- title of the documentpublic java.util.Date getLastModified()
public void setLastModified(java.util.Date lastModified)
lastModified
- last modifed date of the documentpublic java.lang.String getMimetype()
public void setMimetype(java.lang.String mimetype)
mimetype
- mime type of the documentpublic java.lang.Integer getScore()
public void setScore(java.lang.Integer score)
score
- relevance score of the documentpublic java.lang.Integer getDocID()
public void setDocID(java.lang.Integer docID)
docID
- ID of the documentpublic java.lang.String getFedID()
public void setFedID(java.lang.String fedID)
fedID
- ID of the federated instance to which document belongs.public java.lang.String getLanguage()
public void setLanguage(java.lang.String language)
language
- language of the documentpublic java.lang.Integer getContentLength()
public void setContentLength(java.lang.Integer contentLength)
contentLength
- content length of the documentpublic java.lang.Long getSignature()
public void setSignature(java.lang.Long signature)
signature
- signature of the documentpublic java.lang.String getInfoSourceID()
public void setInfoSourceID(java.lang.String infoSourceID)
public java.lang.String getInfoSourcePath()
public void setInfoSourcePath(java.lang.String infoSourcePath)
public DataGroup[] getGroups()
public void setGroups(DataGroup[] groups)
groups
- data groups to which the document belongpublic java.lang.Boolean getIsDuplicate()
public void setIsDuplicate(java.lang.Boolean isDuplicate)
isDuplicate
- boolean value indicating if the document is duplicate of another document in the hit-listpublic java.lang.Boolean getHasDuplicate()
public void setHasDuplicate(java.lang.Boolean hasDuplicate)
hasDuplicate
- a boolean value indicating if the document has one or more duplicate douments in the hit-listpublic CustomAttribute[] getCustomAttributes()
public void setCustomAttributes(CustomAttribute[] customAttributes)
customAttributes
- array of custom (non-default) attributes for the document
|
Oracle Secure Enterprise Search Java API Reference 10g Release 1 (10.1.8) B32260-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |