GData JavaScript Client 1.5

Class google.gdata.Email

Object
   |
   +--google.gdata.Email

class google.gdata.Email


Describes an email address. Compatbility note with older releases of the JavaScript library: this class used to represent , but now represents . The class that represents is now at google.gdata.atom.Email.
Defined in gdata.js


Field Summary
 {String|undefined} address
          Email address.
 {String|undefined} label
          Label.
 {String|undefined} primary
          Whether this is the primary email address.
 {String|undefined} rel
          Email type.
<static>  <final> String REL_HOME
          Home email address.
<static>  <final> String REL_OTHER
          Other email address.
<static>  <final> String REL_WORK
          Work email address.
 
Constructor Summary
google.gdata.Email(<Object> opt_params)
            Constructs an email address using an object parameter whose property names match the setter method to use for each property.
 
Method Summary
 String|undefined getAddress()
           Returns the email address.
 String|undefined getLabel()
           Returns the label.
 Boolean|undefined getPrimary()
           Returns whether this is the primary email address.
 String|undefined getRel()
           Returns the email type.
 void setAddress(<String|undefined> address)
           Sets the email address.
 void setLabel(<String|undefined> label)
           Sets the label.
 void setPrimary(<Boolean|undefined> primary)
           Sets whether this is the primary email address.
 void setRel(<String|undefined> rel)
           Sets the email type.

Field Detail

address

{String|undefined} address

label

{String|undefined} label

primary

{String|undefined} primary

rel

{String|undefined} rel

REL_HOME

<static> <final> String REL_HOME

REL_OTHER

<static> <final> String REL_OTHER

REL_WORK

<static> <final> String REL_WORK

Constructor Detail

google.gdata.Email

google.gdata.Email(<Object> opt_params)

Method Detail

getAddress

String|undefined getAddress()

getLabel

String|undefined getLabel()

getPrimary

Boolean|undefined getPrimary()

getRel

String|undefined getRel()

setAddress

void setAddress(<String|undefined> address)

setLabel

void setLabel(<String|undefined> label)

setPrimary

void setPrimary(<Boolean|undefined> primary)

setRel

void setRel(<String|undefined> rel)

GData JavaScript Client 1.5

Documentation generated by JSDoc on Thu Oct 2 17:38:03 2008