jgd.jaxb
Interface ResultsType.ResultType

All Known Subinterfaces:
IJGDResultItem
All Known Implementing Classes:
GDCOMCalendar, GDCOMContact, GDCOMEmail, GDCOMFile, GDCOMIM, GDCOMIndexed, GDCOMJournal, GDCOMMediaFile, GDCOMNote, GDCOMTask, GDCOMTextFile, GDCOMWebPage, QueryResultItem, QueryResultIteratorItem
Enclosing interface:
ResultsType

public static interface ResultsType.ResultType

Java content class for anonymous complex type.

The following schema fragment specifies the expected content contained within this java content object. (defined at file:/D:/traballo/sourceforge/gdapi/src/gdsdk.xsd line 21)

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <all>
         <element name="category" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="id" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" minOccurs="0"/>
         <element name="doc_id" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" minOccurs="0"/>
         <element name="event_id" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" minOccurs="0"/>
         <element name="title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="url" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="from" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="time" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" minOccurs="0"/>
         <element name="snippet" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="thumbnail" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="icon" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="cache_url" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="flags" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="message_id" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </all>
     </restriction>
   </complexContent>
 </complexType>
 


Method Summary
 java.lang.String getCacheUrl()
          cache_url is the Google Desktop Search-relative URL of this result's internal cache page.
 java.lang.String getCategory()
          Deprecated. getSchema() may be used
 long getDocId()
          doc_id is the result's GDS internal identifier for doc.
 long getEventId()
          event_id is the result's GDS internal identifier for event.
 java.lang.String getFlags()
          Undocumented by google (Only for Desktop2)
 java.lang.String getFrom()
          from is the name of either the person an email message was from, or the other party in a Instant Message chat.
 java.lang.String getIcon()
          icon is a Google Desktop Search-relative URL to an icon representing this result or its type.
 long getId()
          id is the result's GDS internal identifier.
 java.lang.String getMessageId()
          Undocumented by google (Only for Desktop2)
 java.lang.String getSnippet()
          snippet is a snippet from the result's content that contains at least one of the search terms.
 java.lang.String getThumbnail()
          thumbnail is a relative URL to the icon for this result at the GDS webserver
 java.math.BigInteger getTime()
          time is the time value from the event that put this content into GDS.
 java.lang.String getTitle()
          title is the result's title, which varies depending on its type: Web page: the page's title.
 java.lang.String getUrl()
          url is the result's URL.
 void setCacheUrl(java.lang.String value)
          cache_url is the Google Desktop Search-relative URL of this result's internal cache page.
 void setCategory(java.lang.String value)
          contains the result's type, one of: email, chat, web, file, contact, calendar, task, journal, note.
 void setDocId(long value)
          doc_id is the result's GDS internal identifier for doc.
 void setEventId(long value)
          event_id is the result's GDS internal identifier for event.
 void setFlags(java.lang.String value)
          Undocumented by google (Only for Desktop2)
 void setFrom(java.lang.String value)
          from is the name of either the person an email message was from, or the other party in a Instant Message chat.
 void setIcon(java.lang.String value)
          icon is a Google Desktop Search-relative URL to an icon representing this result or its type.
 void setId(long value)
          id is the result's GDS internal identifier.
 void setMessageId(java.lang.String value)
          Undocumented by google (Only for Desktop2)
 void setSnippet(java.lang.String value)
          snippet is a snippet from the result's content that contains at least one of the search terms.
 void setThumbnail(java.lang.String value)
          thumbnail is a relative URL to the icon for this result at the GDS webserver
 void setTime(java.math.BigInteger value)
          time is the time value from the event that put this content into GDS.
 void setTitle(java.lang.String value)
          title is the result's title, which varies depending on its type: Web page: the page's title.
 void setUrl(java.lang.String value)
          url is the result's URL.
 

Method Detail

getFrom

java.lang.String getFrom()
from is the name of either the person an email message was from, or the other party in a Instant Message chat.

Returns:
possible object is String

setFrom

void setFrom(java.lang.String value)
from is the name of either the person an email message was from, or the other party in a Instant Message chat.

Parameters:
value - allowed object is String

getTime

java.math.BigInteger getTime()
time is the time value from the event that put this content into GDS. Usually this will be the time the content was indexed by GDS, but, for example, it could also be a file's last modified time. The format is per the Windows FILETIME structure; the number of 100-nanosecond intervals since January 1, 1601 represented as a 64-bit number.

Returns:
possible object is BigInteger

setTime

void setTime(java.math.BigInteger value)
time is the time value from the event that put this content into GDS. Usually this will be the time the content was indexed by GDS, but, for example, it could also be a file's last modified time. The format is per the Windows FILETIME structure; the number of 100-nanosecond intervals since January 1, 1601 represented as a 64-bit number.

Parameters:
value - allowed object is BigInteger

getMessageId

java.lang.String getMessageId()
Undocumented by google (Only for Desktop2)

Returns:
possible object is String

setMessageId

void setMessageId(java.lang.String value)
Undocumented by google (Only for Desktop2)

Parameters:
value - allowed object is String

getDocId

long getDocId()
doc_id is the result's GDS internal identifier for doc. (Only for Desktop2)


setDocId

void setDocId(long value)
doc_id is the result's GDS internal identifier for doc. (Only for Desktop2)


getUrl

java.lang.String getUrl()
url is the result's URL. For files and web pages, this is the usual path to the result. For chats and email messages, Google Desktop Search generates a URL for the location where it has stored its cached copy.

Returns:
possible object is String

setUrl

void setUrl(java.lang.String value)
url is the result's URL. For files and web pages, this is the usual path to the result. For chats and email messages, Google Desktop Search generates a URL for the location where it has stored its cached copy.

Parameters:
value - allowed object is String

getIcon

java.lang.String getIcon()
icon is a Google Desktop Search-relative URL to an icon representing this result or its type. This will either be one of the standard Google Desktop Search result type icons (envelope for email, Word icon for a Word file, etc.) or a favicon obtained from a website.

Returns:
possible object is String

setIcon

void setIcon(java.lang.String value)
icon is a Google Desktop Search-relative URL to an icon representing this result or its type. This will either be one of the standard Google Desktop Search result type icons (envelope for email, Word icon for a Word file, etc.) or a favicon obtained from a website.

Parameters:
value - allowed object is String

getEventId

long getEventId()
event_id is the result's GDS internal identifier for event. (Only for Desktop2)


setEventId

void setEventId(long value)
event_id is the result's GDS internal identifier for event. (Only for Desktop2)


getSnippet

java.lang.String getSnippet()
snippet is a snippet from the result's content that contains at least one of the search terms.

Returns:
possible object is String

setSnippet

void setSnippet(java.lang.String value)
snippet is a snippet from the result's content that contains at least one of the search terms.

Parameters:
value - allowed object is String

getCategory

java.lang.String getCategory()
Deprecated. getSchema() may be used

contains the result's type, one of: email, chat, web, file, contact, calendar, task, journal, note.

Returns:
possible object is String

setCategory

void setCategory(java.lang.String value)
contains the result's type, one of: email, chat, web, file, contact, calendar, task, journal, note.

Parameters:
value - allowed object is String

getTitle

java.lang.String getTitle()
title is the result's title, which varies depending on its type: Web page: the page's title. Email: the message's Subject:. File: its filename. Chat: a line from the chat.

Returns:
possible object is String

setTitle

void setTitle(java.lang.String value)
title is the result's title, which varies depending on its type: Web page: the page's title. Email: the message's Subject:. File: its filename. Chat: a line from the chat.

Parameters:
value - allowed object is String

getThumbnail

java.lang.String getThumbnail()
thumbnail is a relative URL to the icon for this result at the GDS webserver

Returns:
possible object is String

setThumbnail

void setThumbnail(java.lang.String value)
thumbnail is a relative URL to the icon for this result at the GDS webserver

Parameters:
value - allowed object is String

getId

long getId()
id is the result's GDS internal identifier.


setId

void setId(long value)
id is the result's GDS internal identifier.


getCacheUrl

java.lang.String getCacheUrl()
cache_url is the Google Desktop Search-relative URL of this result's internal cache page.

Returns:
possible object is String

setCacheUrl

void setCacheUrl(java.lang.String value)
cache_url is the Google Desktop Search-relative URL of this result's internal cache page.

Parameters:
value - allowed object is String

getFlags

java.lang.String getFlags()
Undocumented by google (Only for Desktop2)

Returns:
possible object is String

setFlags

void setFlags(java.lang.String value)
Undocumented by google (Only for Desktop2)

Parameters:
value - allowed object is String


Copyright © 2007