GData JavaScript Client 1.9

Class google.gdata.gbase.GmAttribute

Object
   |
   +--google.gdata.gbase.GmAttribute

class google.gdata.gbase.GmAttribute


Describes a list of attribute for an item type.
Defined in gdata.js


Field Summary
 Object $valuesClass_
          
 {string|undefined} count
          Count.
 {string|undefined} importance
          Importance.
 {string|undefined} name
          Name.
 {string|undefined} type
          Type.
<static>  <final> {string} IMPORTANCE_OPTIONAL
          The attribute is optional.
<static>  <final> {string} IMPORTANCE_RECOMMENDED
          The attribute is recommended.
<static>  <final> {string} IMPORTANCE_REQUIRED
          The attribute is required.
 
Constructor Summary
google.gdata.gbase.GmAttribute(<Object> opt_params)
            Constructs a list of attribute for an item type using an object parameter whose property names match the setter method to use for each property.
 
Method Summary
 void addValue(<google.gdata.gbase.GmValue|Object> value)
           Adds a new gm value.
 number|undefined getCount()
           Returns the count.
 string|undefined getImportance()
           Returns the importance.
 string|undefined getName()
           Returns the name.
 string|undefined getType()
           Returns the type.
 Array.<google.gdata.gbase.GmValue> getValues()
           Returns the gm values.
 void setCount(<number|undefined> count)
           Sets the count.
 void setImportance(<string|undefined> importance)
           Sets the importance.
 void setName(<string|undefined> name)
           Sets the name.
 void setType(<string|undefined> type)
           Sets the type.
 void setValues(<Array.<google.gdata.gbase.GmValue>|Array.<Object>|undefined> values)
           Sets the gm values.

Field Detail

$valuesClass_

Object $valuesClass_

count

{string|undefined} count

importance

{string|undefined} importance

name

{string|undefined} name

type

{string|undefined} type

IMPORTANCE_OPTIONAL

<static> <final> {string} IMPORTANCE_OPTIONAL

IMPORTANCE_RECOMMENDED

<static> <final> {string} IMPORTANCE_RECOMMENDED

IMPORTANCE_REQUIRED

<static> <final> {string} IMPORTANCE_REQUIRED

Constructor Detail

google.gdata.gbase.GmAttribute

google.gdata.gbase.GmAttribute(<Object> opt_params)

Method Detail

addValue

void addValue(<google.gdata.gbase.GmValue|Object> value)

getCount

number|undefined getCount()

getImportance

string|undefined getImportance()

getName

string|undefined getName()

getType

string|undefined getType()

getValues

Array.<google.gdata.gbase.GmValue> getValues()

setCount

void setCount(<number|undefined> count)

setImportance

void setImportance(<string|undefined> importance)

setName

void setName(<string|undefined> name)

setType

void setType(<string|undefined> type)

setValues

void setValues(<Array.<google.gdata.gbase.GmValue>|Array.<Object>|undefined> values)

GData JavaScript Client 1.9

Documentation generated by JSDoc on Mon Apr 20 21:27:27 2009