|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
---|
java.lang.String getFrom()
String
void setFrom(java.lang.String value)
value
- allowed object is
String
java.math.BigInteger getTime()
BigInteger
void setTime(java.math.BigInteger value)
value
- allowed object is
BigInteger
java.lang.String getMessageId()
String
void setMessageId(java.lang.String value)
value
- allowed object is
String
long getDocId()
void setDocId(long value)
java.lang.String getUrl()
String
void setUrl(java.lang.String value)
value
- allowed object is
String
java.lang.String getIcon()
String
void setIcon(java.lang.String value)
value
- allowed object is
String
long getEventId()
void setEventId(long value)
java.lang.String getSnippet()
String
void setSnippet(java.lang.String value)
value
- allowed object is
String
java.lang.String getCategory()
String
void setCategory(java.lang.String value)
value
- allowed object is
String
java.lang.String getTitle()
String
void setTitle(java.lang.String value)
value
- allowed object is
String
java.lang.String getThumbnail()
String
void setThumbnail(java.lang.String value)
value
- allowed object is
String
long getId()
void setId(long value)
java.lang.String getCacheUrl()
String
void setCacheUrl(java.lang.String value)
value
- allowed object is
String
java.lang.String getFlags()
String
void setFlags(java.lang.String value)
value
- allowed object is
String
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |