|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gdata.model.Element
com.google.gdata.model.gd.Organization
public class Organization
Describes an organization (like Company).
Nested Class Summary | |
---|---|
static class |
Organization.Rel
Organization type. |
Field Summary | |
---|---|
static ElementKey<java.lang.Void,Organization> |
KEY
The key for this element. |
static AttributeKey<java.lang.String> |
LABEL
Label. |
static AttributeKey<java.lang.Boolean> |
PRIMARY
Whether this is the primary organization. |
static AttributeKey<java.lang.String> |
REL
Organization type. |
Constructor Summary | |
---|---|
Organization()
Constructs an instance using the default key. |
Method Summary | |
---|---|
java.lang.String |
getLabel()
Returns the label. |
OrgDepartment |
getOrgDepartment()
Returns the department name in organization. |
OrgJobDescription |
getOrgJobDescription()
Returns the job description. |
OrgName |
getOrgName()
Returns the name of organization. |
OrgSymbol |
getOrgSymbol()
Returns the organization symbol/ticker. |
OrgTitle |
getOrgTitle()
Returns the position in organization. |
java.lang.Boolean |
getPrimary()
Returns the whether this is the primary organization. |
java.lang.String |
getRel()
Returns the organization type. |
Where |
getWhere()
Returns the office location. |
boolean |
hasLabel()
Returns whether it has the label. |
boolean |
hasOrgDepartment()
Returns whether it has the department name in organization. |
boolean |
hasOrgJobDescription()
Returns whether it has the job description. |
boolean |
hasOrgName()
Returns whether it has the name of organization. |
boolean |
hasOrgSymbol()
Returns whether it has the organization symbol/ticker. |
boolean |
hasOrgTitle()
Returns whether it has the position in organization. |
boolean |
hasPrimary()
Returns whether it has the whether this is the primary organization. |
boolean |
hasRel()
Returns whether it has the organization type. |
boolean |
hasWhere()
Returns whether it has the office location. |
Organization |
lock()
Locks this element. |
static void |
registerMetadata(MetadataRegistry registry)
Registers the metadata for this element. |
Organization |
setLabel(java.lang.String label)
Sets the label. |
Organization |
setOrgDepartment(OrgDepartment orgDepartment)
Sets the department name in organization. |
Organization |
setOrgJobDescription(OrgJobDescription orgJobDescription)
Sets the job description. |
Organization |
setOrgName(OrgName orgName)
Sets the name of organization. |
Organization |
setOrgSymbol(OrgSymbol orgSymbol)
Sets the organization symbol/ticker. |
Organization |
setOrgTitle(OrgTitle orgTitle)
Sets the position in organization. |
Organization |
setPrimary(java.lang.Boolean primary)
Sets the whether this is the primary organization. |
Organization |
setRel(java.lang.String rel)
Sets the organization type. |
Organization |
setWhere(Where where)
Sets the office location. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ElementKey<java.lang.Void,Organization> KEY
public static final AttributeKey<java.lang.String> LABEL
public static final AttributeKey<java.lang.Boolean> PRIMARY
public static final AttributeKey<java.lang.String> REL
Constructor Detail |
---|
public Organization()
Method Detail |
---|
public static void registerMetadata(MetadataRegistry registry)
public Organization lock()
Element
lock
in class Element
public java.lang.String getLabel()
public Organization setLabel(java.lang.String label)
label
- label or null
to reset
public boolean hasLabel()
public OrgDepartment getOrgDepartment()
public Organization setOrgDepartment(OrgDepartment orgDepartment)
orgDepartment
- department name in organization or null
to
reset
public boolean hasOrgDepartment()
public OrgJobDescription getOrgJobDescription()
public Organization setOrgJobDescription(OrgJobDescription orgJobDescription)
orgJobDescription
- job description or null
to reset
public boolean hasOrgJobDescription()
public OrgName getOrgName()
public Organization setOrgName(OrgName orgName)
orgName
- name of organization or null
to reset
public boolean hasOrgName()
public OrgSymbol getOrgSymbol()
public Organization setOrgSymbol(OrgSymbol orgSymbol)
orgSymbol
- organization symbol/ticker or null
to reset
public boolean hasOrgSymbol()
public OrgTitle getOrgTitle()
public Organization setOrgTitle(OrgTitle orgTitle)
orgTitle
- position in organization or null
to reset
public boolean hasOrgTitle()
public java.lang.Boolean getPrimary()
public Organization setPrimary(java.lang.Boolean primary)
primary
- whether this is the primary organization or null
to
reset
public boolean hasPrimary()
public java.lang.String getRel()
public Organization setRel(java.lang.String rel)
rel
- organization type or null
to reset
public boolean hasRel()
public Where getWhere()
public Organization setWhere(Where where)
where
- office location or null
to reset
public boolean hasWhere()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |