|
Oracle Secure Enterprise Search Java API Reference 11g Release 2 (11.2.1.0.0) E17597-02 |
|||||||||
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
public class ResultElement
ResultElement encapsulates an element (document) information in the hit-list.
Constructor Summary | |
---|---|
ResultElement() |
|
ResultElement(String author, String description, String url, String snippet, String title, Date lastModified, String mimetype, Integer score, Integer docID, String language, Integer contentLength, Long signature, String infoSourceID, String infoSourcePath, DataGroup[] groups, Boolean isDuplicate, Boolean hasDuplicate, CustomAttribute[] customAttributes, String fedID) |
Method Summary | |
---|---|
String |
getAuthor() Returns the author of the document. |
Integer |
getContentLength() Returns the content length of the document. |
CustomAttribute[] |
getCustomAttributes() Returns the non-default attributes of the document requested in the search methods. |
String |
getDescription() Returns the description of the document. |
Integer |
getDocID() Returns the ID of the document. |
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. |
Boolean |
getHasDuplicate() Returns a Boolean value indicating if the document has one or more duplicate documents in the hit-list. |
String |
getInfoSourceID() Returns the infosource ID of the document. |
String |
getInfoSourcePath() Returns the infosource path of the document. |
Boolean |
getIsDuplicate() Returns a Boolean value indicating if the document is a duplicate document of another document in the hit-list. |
String |
getLanguage() Returns the language of the document. |
Date |
getLastModified() Returns the last modified date of the document. |
String |
getMimetype() Returns the MIME type of the document. |
Integer |
getScore() Returns the relevance score of the document. |
Long |
getSignature() Returns the signature of the document. |
String |
getSnippet() Returns keywords in context (KWIC) of the document for the given query. |
String |
getTitle() Returns the title of the document. |
String |
getUrl() Returns the URL to access the document. |
Boolean |
isHasDuplicate() |
Boolean |
isIsDuplicate() |
void |
setAuthor(String author) Sets the author for the document. |
void |
setContentLength(Integer contentLength) Sets the content length of the document. |
void |
setCustomAttributes(CustomAttribute[] customAttributes) Sets custom (non-default) attributes of the document. |
void |
setDescription(String description) Sets the description of the document. |
void |
setDocID(Integer docID) Sets the ID of the document. |
void |
setFedID(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(Boolean hasDuplicate) Sets the Boolean value indicating if the document has one or more duplicate documents in the hit-list. |
void |
setInfoSourceID(String infoSourceID) Sets the infosource ID of the document. |
void |
setInfoSourcePath(String infoSourcePath) Sets the infosource path of the document. |
void |
setIsDuplicate(Boolean isDuplicate) Sets the Boolean value indicating if the document is duplicate of another document in the hit-list. |
void |
setLanguage(String language) Sets the language of the document. |
void |
setLastModified(Date lastModified) Sets the last modified date for the document. |
void |
setMimetype(String mimetype) Sets the MIME type of the document. |
void |
setScore(Integer score) Sets the relevance score of the document. |
void |
setSignature(Long signature) Sets the signature of the document. |
void |
setSnippet(String snippet) Sets the keywords in context (KWIC) of the document for a given query. |
void |
setTitle(String title) Sets the title for the document. |
void |
setUrl(String url) Sets the URL to access the document. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResultElement()
public ResultElement(String author, String description, String url, String snippet, String title, Date lastModified, String mimetype, Integer score, Integer docID, String language, Integer contentLength, Long signature, String infoSourceID, String infoSourcePath, DataGroup[] groups, Boolean isDuplicate, Boolean hasDuplicate, CustomAttribute[] customAttributes, String fedID)
author
- author of the documentdescription
- description 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) attributes of the document that were requested in the search methodsfedID
- ID of the federated instance to which the document belongsMethod Detail |
---|
public String getAuthor()
public void setAuthor(String author)
author
- author of the documentpublic String getDescription()
public void setDescription(String description)
description
- description of the documentpublic String getUrl()
public void setUrl(String url)
url
- URL of the documentpublic String getSnippet()
public void setSnippet(String snippet)
snippet
- keywords in context of the document for a given querypublic String getTitle()
public void setTitle(String title)
title
- title of the documentpublic Date getLastModified()
public void setLastModified(Date lastModified)
lastModified
- last modifed date of the documentpublic String getMimetype()
public void setMimetype(String mimetype)
mimetype
- MIME type of the documentpublic Integer getScore()
public void setScore(Integer score)
score
- relevance score of the documentpublic Integer getDocID()
public void setDocID(Integer docID)
docID
- ID of the documentpublic String getLanguage()
public void setLanguage(String language)
language
- language of the documentpublic Integer getContentLength()
public void setContentLength(Integer contentLength)
contentLength
- content length of the documentpublic Long getSignature()
public void setSignature(Long signature)
signature
- signature of the documentpublic String getInfoSourceID()
public void setInfoSourceID(String infoSourceID)
infoSourceID
- infosource ID of the documentpublic String getInfoSourcePath()
public void setInfoSourcePath(String infoSourcePath)
infoSourcePath
- infosource path of the documentpublic DataGroup[] getGroups()
public void setGroups(DataGroup[] groups)
groups
- data groups to which the document belongspublic Boolean getIsDuplicate()
public Boolean isIsDuplicate()
public void setIsDuplicate(Boolean isDuplicate)
isDuplicate
- Boolean value indicating if the document is duplicate of another document in the hit-listpublic Boolean getHasDuplicate()
public Boolean isHasDuplicate()
public void setHasDuplicate(Boolean hasDuplicate)
hasDuplicate
- a Boolean value indicating if the document has one or more duplicate documents in the hit-listpublic String getFedID()
public void setFedID(String fedID)
fedID
- ID of the federated instance to which document belongs.public CustomAttribute[] getCustomAttributes()
public void setCustomAttributes(CustomAttribute[] customAttributes)
customAttributes
- array of custom (non-default) attributes for the document
|
Oracle Secure Enterprise Search Java API Reference 11g Release 2 (11.2.1.0.0) E17597-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |