GData JavaScript Client 2.1

Class google.gdata.contacts.Relation

Object
   |
   +--google.gdata.contacts.Relation

class 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

$t

{string|undefined} $t

label

{string|undefined} label

rel

{string|undefined} rel

REL_ASSISTANT

<static> <final> {string} REL_ASSISTANT

REL_BROTHER

<static> <final> {string} REL_BROTHER

REL_CHILD

<static> <final> {string} REL_CHILD

REL_DOMESTIC_PARTNER

<static> <final> {string} REL_DOMESTIC_PARTNER

REL_FATHER

<static> <final> {string} REL_FATHER

REL_FRIEND

<static> <final> {string} REL_FRIEND

REL_MANAGER

<static> <final> {string} REL_MANAGER

REL_MOTHER

<static> <final> {string} REL_MOTHER

REL_PARENT

<static> <final> {string} REL_PARENT

REL_PARTNER

<static> <final> {string} REL_PARTNER

REL_REFERRED_BY

<static> <final> {string} REL_REFERRED_BY

REL_RELATIVE

<static> <final> {string} REL_RELATIVE

REL_SISTER

<static> <final> {string} REL_SISTER

REL_SPOUSE

<static> <final> {string} REL_SPOUSE

Constructor Detail

google.gdata.contacts.Relation

google.gdata.contacts.Relation(<Object> opt_params)

Method Detail

getLabel

string|undefined getLabel()

getRel

string|undefined getRel()

getValue

string|undefined getValue()

setLabel

void setLabel(<string|undefined> label)

setRel

void setRel(<string|undefined> rel)

setValue

void setValue(<string|undefined> value)

GData JavaScript Client 2.1

Documentation generated by JSDoc on Mon Nov 9 14:24:07 2009