|
GData JavaScript Client 1.7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--google.gdata.Organization
Describes an organization (like Company).
Defined in gdata.js
Field Summary | |
Object |
$orgNameClass_
|
Object |
$orgTitleClass_
|
{string|undefined} |
label
Label. |
{string|undefined} |
primary
Whether this is the primary organization. |
{string|undefined} |
rel
Organization type. |
<static> <final> {string} |
REL_OTHER
Other organization. |
<static> <final> {string} |
REL_WORK
Work organization. |
Constructor Summary | |
google.gdata.Organization(<Object> opt_params)
Constructs an organization using an object parameter whose property names match the setter method to use for each property. |
Method Summary | |
string|undefined
|
getLabel()
Returns the label. |
google.gdata.OrgName|undefined
|
getOrgName()
Returns the name of organization. |
google.gdata.OrgTitle|undefined
|
getOrgTitle()
Returns the position in organization. |
boolean|undefined
|
getPrimary()
Returns whether this is the primary organization. |
string|undefined
|
getRel()
Returns the organization type. |
void
|
setLabel(<string|undefined> label)
Sets the label. |
void
|
setOrgName(<google.gdata.OrgName|Object|undefined> orgName)
Sets the name of organization. |
void
|
setOrgTitle(<google.gdata.OrgTitle|Object|undefined> orgTitle)
Sets the position in organization. |
void
|
setPrimary(<boolean|undefined> primary)
Sets whether this is the primary organization. |
void
|
setRel(<string|undefined> rel)
Sets the organization type. |
Field Detail |
Object $orgNameClass_
Object $orgTitleClass_
{string|undefined} label
{string|undefined} primary
{string|undefined} rel
<static> <final> {string} REL_OTHER
<static> <final> {string} REL_WORK
Constructor Detail |
google.gdata.Organization(<Object> opt_params)
opt_params
- Optional parameters, each of which is used as the sole parameter to the associated setter method: label, orgName, orgTitle, primary, and rel.
Method Detail |
string|undefined getLabel()
google.gdata.OrgName|undefined getOrgName()
google.gdata.OrgTitle|undefined getOrgTitle()
boolean|undefined getPrimary()
string|undefined getRel()
void setLabel(<string|undefined> label)
label
- Label or undefined for none.
void setOrgName(<google.gdata.OrgName|Object|undefined> orgName)
orgName
- Name of organization, or object to use as a parameter to the google.gdata.OrgName constructor, or undefined for none.
void setOrgTitle(<google.gdata.OrgTitle|Object|undefined> orgTitle)
orgTitle
- Position in organization, or object to use as a parameter to the google.gdata.OrgTitle constructor, or undefined for none.
void setPrimary(<boolean|undefined> primary)
primary
- Whether this is the primary organization or undefined for none.
void setRel(<string|undefined> rel)
rel
- Organization type or undefined for none.
|
GData JavaScript Client 1.7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |