|
GData JavaScript Client 2.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--google.gdata.contacts.Relation
Contact's relation.
Defined in gdata.js
Field Summary | |
{string|undefined} |
$t
Value. |
{string|undefined} |
label
Label. |
{string|undefined} |
rel
Relation type. |
<static> <final> {string} |
REL_ASSISTANT
Assistant relation. |
<static> <final> {string} |
REL_BROTHER
Brother relation. |
<static> <final> {string} |
REL_CHILD
Child relation. |
<static> <final> {string} |
REL_DOMESTIC_PARTNER
Domestic-partner relation. |
<static> <final> {string} |
REL_FATHER
Father relation. |
<static> <final> {string} |
REL_FRIEND
Friend relation. |
<static> <final> {string} |
REL_MANAGER
Manager relation. |
<static> <final> {string} |
REL_MOTHER
Mother relation. |
<static> <final> {string} |
REL_PARENT
Parent relation. |
<static> <final> {string} |
REL_PARTNER
Partner relation. |
<static> <final> {string} |
REL_REFERRED_BY
Referred-by relation. |
<static> <final> {string} |
REL_RELATIVE
Relative relation. |
<static> <final> {string} |
REL_SISTER
Sister relation. |
<static> <final> {string} |
REL_SPOUSE
Spouse relation. |
Constructor Summary | |
google.gdata.contacts.Relation(<Object> opt_params)
Constructs a relation using an object parameter whose property names match the setter method to use for each property. |
Method Summary | |
string|undefined
|
getLabel()
Returns the label. |
string|undefined
|
getRel()
Returns the relation type. |
string|undefined
|
getValue()
Returns the value. |
void
|
setLabel(<string|undefined> label)
Sets the label. |
void
|
setRel(<string|undefined> rel)
Sets the relation type. |
void
|
setValue(<string|undefined> value)
Sets the value. |
Field Detail |
{string|undefined} $t
{string|undefined} label
{string|undefined} rel
<static> <final> {string} REL_ASSISTANT
<static> <final> {string} REL_BROTHER
<static> <final> {string} REL_CHILD
<static> <final> {string} REL_DOMESTIC_PARTNER
<static> <final> {string} REL_FATHER
<static> <final> {string} REL_FRIEND
<static> <final> {string} REL_MANAGER
<static> <final> {string} REL_MOTHER
<static> <final> {string} REL_PARENT
<static> <final> {string} REL_PARTNER
<static> <final> {string} REL_REFERRED_BY
<static> <final> {string} REL_RELATIVE
<static> <final> {string} REL_SISTER
<static> <final> {string} REL_SPOUSE
Constructor Detail |
google.gdata.contacts.Relation(<Object> opt_params)
opt_params
- Optional parameters, each of which is used as the sole parameter to the associated setter method: label, rel, and value.
Method Detail |
string|undefined getLabel()
string|undefined getRel()
string|undefined getValue()
void setLabel(<string|undefined> label)
label
- Label or undefined for none.
void setRel(<string|undefined> rel)
rel
- Relation type or undefined for none.
void setValue(<string|undefined> value)
value
- Value or undefined for none.
|
GData JavaScript Client 2.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |