|
GData JavaScript Client 1.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--google.gdata.PostalAddress
Describes a postal address.
Defined in gdata.js
| Field Summary | |
{String|undefined} |
$t
Address string. |
{String|undefined} |
label
Simple string value used to name this address. |
{String|undefined} |
primary
Whether this is the primary postal address. |
{String|undefined} |
rel
Postal address type. |
<static> <final> String |
REL_HOME
Home address. |
<static> <final> String |
REL_OTHER
Other address. |
<static> <final> String |
REL_WORK
Work address. |
| Constructor Summary | |
google.gdata.PostalAddress(<Object> opt_params)
Constructs a postal address using an object parameter whose property names match the setter method to use for each property. |
|
| Method Summary | |
String|undefined
|
getLabel()
Returns the simple string value used to name this address. |
Boolean|undefined
|
getPrimary()
Returns whether this is the primary postal address. |
String|undefined
|
getRel()
Returns the postal address type. |
String|undefined
|
getValue()
Returns the address string. |
void
|
setLabel(<String|undefined> label)
Sets the simple string value used to name this address. |
void
|
setPrimary(<Boolean|undefined> primary)
Sets whether this is the primary postal address. |
void
|
setRel(<String|undefined> rel)
Sets the postal address type. |
void
|
setValue(<String|undefined> value)
Sets the address string. |
| Field Detail |
{String|undefined} $t
{String|undefined} label
{String|undefined} primary
{String|undefined} rel
<static> <final> String REL_HOME
<static> <final> String REL_OTHER
<static> <final> String REL_WORK
| Constructor Detail |
google.gdata.PostalAddress(<Object> opt_params)
opt_params - Optional parameters, each of which is used as the sole parameter to the associated setter method: label, primary, rel, and value
| Method Detail |
String|undefined getLabel()
Boolean|undefined getPrimary()
String|undefined getRel()
String|undefined getValue()
void setLabel(<String|undefined> label)
label - Simple string value used to name this address or undefined for none
void setPrimary(<Boolean|undefined> primary)
primary - Whether this is the primary postal address or undefined for none
void setRel(<String|undefined> rel)
rel - Postal address type or undefined for none
void setValue(<String|undefined> value)
value - Address string or undefined for none
|
GData JavaScript Client 1.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||