|
GData JavaScript Client 2.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--google.gdata.CustomProperty
Name-value pair with optional type and unit.
Defined in gdata.js
Field Summary | |
{string|undefined} |
$t
Value. |
{string|undefined} |
name
Can be a URI to indicate a specific ontology. |
{string|undefined} |
type
Datatype such as string, integer, and date, or an ontology-specific URI. |
{string|undefined} |
unit
Units of data - can also be a URI to indicate a specific ontology. |
Constructor Summary | |
google.gdata.CustomProperty(<Object> opt_params)
Constructs a custom property using an object parameter whose property names match the setter method to use for each property. |
Method Summary | |
string|undefined
|
getName()
Returns the can be a URI to indicate a specific ontology. |
string|undefined
|
getType()
Returns the datatype such as string, integer, and date, or an ontology-specific URI. |
string|undefined
|
getUnit()
Returns the units of data - can also be a URI to indicate a specific ontology. |
string|undefined
|
getValue()
Returns the value. |
void
|
setName(<string|undefined> name)
Sets the can be a URI to indicate a specific ontology. |
void
|
setType(<string|undefined> type)
Sets the datatype such as string, integer, and date, or an ontology-specific URI. |
void
|
setUnit(<string|undefined> unit)
Sets the units of data - can also be a URI to indicate a specific ontology. |
void
|
setValue(<string|undefined> value)
Sets the value. |
Field Detail |
{string|undefined} $t
{string|undefined} name
{string|undefined} type
{string|undefined} unit
Constructor Detail |
google.gdata.CustomProperty(<Object> opt_params)
opt_params
- Optional parameters, each of which is used as the sole parameter to the associated setter method: name, type, unit, and value.
Method Detail |
string|undefined getName()
string|undefined getType()
string|undefined getUnit()
string|undefined getValue()
void setName(<string|undefined> name)
name
- Can be a URI to indicate a specific ontology or undefined for none.
void setType(<string|undefined> type)
type
- Datatype such as string, integer, and date, or an ontology-specific URI or undefined for none.
void setUnit(<string|undefined> unit)
unit
- Units of data - can also be a URI to indicate a specific ontology or undefined for none.
void setValue(<string|undefined> value)
value
- Value or undefined for none.
|
GData JavaScript Client 2.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |