Class google.gdata.gbase.Attribute
Object
|
+--google.gdata.gbase.Attribute
- class
google.gdata.gbase.Attribute
Describes an arbitrary attribute in a Google Base item.
Defined in gdata.js
Field Summary |
{string|undefined} |
$t
Value. |
{string|undefined} |
type
Type of the attribute. |
Constructor Summary |
google.gdata.gbase.Attribute(<Object> opt_params)
Constructs an attribute using an object parameter whose property names match
the setter method to use for each property.
|
Method Summary |
string|undefined
|
getType()
Returns the type of the attribute.
|
string|undefined
|
getValue()
Returns the value.
|
void
|
setType(<string|undefined> type)
Sets the type of the attribute.
|
void
|
setValue(<string|undefined> value)
Sets the value.
|
$t
{string|undefined} $t
Value. This attribute is optional.
type
{string|undefined} type
Type of the attribute. This attribute is required.
google.gdata.gbase.Attribute
google.gdata.gbase.Attribute(<Object> opt_params)
Constructs an attribute using an object parameter whose property names match
the setter method to use for each property.
Parameters:
opt_params
- Optional parameters, each of which is used as the sole parameter to the associated setter method: type and value.
getType
string|undefined getType()
Returns the type of the attribute. This attribute is required.
Returns:
Type of the attribute or undefined for none.
getValue
string|undefined getValue()
Returns the value. This attribute is optional.
Returns:
Value or undefined for none.
setType
void setType(<string|undefined> type)
Sets the type of the attribute. This attribute is required.
Parameters:
type
- Type of the attribute or undefined for none.
setValue
void setValue(<string|undefined> value)
Sets the value. This attribute is optional.
Parameters:
value
- Value or undefined for none.
Documentation generated by
JSDoc on Mon Apr 20 21:27:27 2009