|
GData JavaScript Client 1.3 | ||||||||
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 | |
{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 |
{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.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |