|
GData JavaScript Client 1.10 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--google.gdata.app.Collection
Describes a Collection.
Defined in gdata.js
Field Summary | |
Object |
$acceptsClass_
|
Object |
$categoriesesClass_
|
Object |
$titleClass_
|
{string|undefined} |
href
Href. |
{google.gdata.atom.Text|undefined} |
title
Title. |
Constructor Summary | |
google.gdata.app.Collection(<Object> opt_params)
Constructs a collection using an object parameter whose property names match the setter method to use for each property. |
Method Summary | |
void
|
addAccept(<google.gdata.app.Accept|Object> accept)
Adds a new accept element. |
void
|
addCategories(<google.gdata.app.Categories|Object> categories)
Adds a new app categories document. |
Array.<google.gdata.app.Accept>
|
getAccepts()
Returns the accept elements. |
Array.<google.gdata.app.Categories>
|
getCategorieses()
Returns the app categories documents. |
string|undefined
|
getHref()
Returns the href. |
google.gdata.atom.Text|undefined
|
getTitle()
Returns the title. |
void
|
setAccepts(<Array.<google.gdata.app.Accept>|Array.<Object>|undefined> accepts)
Sets the accept elements. |
void
|
setCategorieses(<Array.<google.gdata.app.Categories>|Array.<Object>|undefined> categorieses)
Sets the app categories documents. |
void
|
setHref(<string|undefined> href)
Sets the href. |
void
|
setTitle(<google.gdata.atom.Text|Object|undefined> title)
Sets the title. |
Field Detail |
Object $acceptsClass_
Object $categoriesesClass_
Object $titleClass_
{string|undefined} href
{google.gdata.atom.Text|undefined} title
Constructor Detail |
google.gdata.app.Collection(<Object> opt_params)
opt_params
- Optional parameters, each of which is used as the sole parameter to the associated setter method: accepts, categorieses, href, and title.
Method Detail |
void addAccept(<google.gdata.app.Accept|Object> accept)
accept
- Accept element to add, or object to use as a parameter to the google.gdata.app.Accept constructor.
void addCategories(<google.gdata.app.Categories|Object> categories)
categories
- App categories document to add, or object to use as a parameter to the google.gdata.app.Categories constructor.
Array.<google.gdata.app.Accept> getAccepts()
Array.<google.gdata.app.Categories> getCategorieses()
string|undefined getHref()
google.gdata.atom.Text|undefined getTitle()
void setAccepts(<Array.<google.gdata.app.Accept>|Array.<Object>|undefined> accepts)
accepts
- Accept elements, where each accept element is added using the addAccept() function, or undefined to clear the accept elements.
void setCategorieses(<Array.<google.gdata.app.Categories>|Array.<Object>|undefined> categorieses)
categorieses
- App categories documents, where each app categories document is added using the addCategories() function, or undefined to clear the app categories documents.
void setHref(<string|undefined> href)
href
- Href or undefined for none.
void setTitle(<google.gdata.atom.Text|Object|undefined> title)
title
- Title, or object to use as a parameter to the google.gdata.atom.Text constructor, or undefined for none.
|
GData JavaScript Client 1.10 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |