public class Organization extends ExtensionPoint
Modifier and Type | Class and Description |
---|---|
static class |
Organization.Rel
Organization type.
|
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler
Constructor and Description |
---|
Organization()
Default mutable constructor.
|
Organization(java.lang.String label,
java.lang.Boolean primary,
java.lang.String rel)
Immutable constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within
the target extension profile.
|
static ExtensionDescription |
getDefaultDescription(boolean required,
boolean repeatable)
Returns the extension description, specifying whether it is required, and
whether it is repeatable.
|
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.
|
void |
setLabel(java.lang.String label)
Sets the label.
|
void |
setOrgDepartment(OrgDepartment orgDepartment)
Sets the department name in organization.
|
void |
setOrgJobDescription(OrgJobDescription orgJobDescription)
Sets the job description.
|
void |
setOrgName(OrgName orgName)
Sets the name of organization.
|
void |
setOrgSymbol(OrgSymbol orgSymbol)
Sets the organization symbol/ticker.
|
void |
setOrgTitle(OrgTitle orgTitle)
Sets the position in organization.
|
void |
setPrimary(java.lang.Boolean primary)
Sets the whether this is the primary organization.
|
void |
setRel(java.lang.String rel)
Sets the organization type.
|
void |
setWhere(Where where)
Sets the office location.
|
java.lang.String |
toString() |
addExtension, addRepeatingExtension, generateCumulativeXmlBlob, getExtension, getExtensions, getHandler, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit
disableStrictValidation, enableStrictValidation, generate, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, setImmutable
public Organization()
public Organization(java.lang.String label, java.lang.Boolean primary, java.lang.String rel)
label
- label.primary
- whether this is the primary organization.rel
- organization type.public void declareExtensions(ExtensionProfile extProfile)
ExtensionPoint
declareExtensions
in class ExtensionPoint
extProfile
- the ExtensionProfile to initialize.public java.lang.String getLabel()
public void setLabel(java.lang.String label)
label
- label or null
to resetpublic boolean hasLabel()
public OrgDepartment getOrgDepartment()
public void setOrgDepartment(OrgDepartment orgDepartment)
orgDepartment
- department name in organization or null
to resetpublic boolean hasOrgDepartment()
public OrgJobDescription getOrgJobDescription()
public void setOrgJobDescription(OrgJobDescription orgJobDescription)
orgJobDescription
- job description or null
to resetpublic boolean hasOrgJobDescription()
public OrgName getOrgName()
public void setOrgName(OrgName orgName)
orgName
- name of organization or null
to resetpublic boolean hasOrgName()
public OrgSymbol getOrgSymbol()
public void setOrgSymbol(OrgSymbol orgSymbol)
orgSymbol
- organization symbol/ticker or null
to resetpublic boolean hasOrgSymbol()
public OrgTitle getOrgTitle()
public void setOrgTitle(OrgTitle orgTitle)
orgTitle
- position in organization or null
to resetpublic boolean hasOrgTitle()
public java.lang.Boolean getPrimary()
public void setPrimary(java.lang.Boolean primary)
primary
- whether this is the primary organization or
null
to resetpublic boolean hasPrimary()
public java.lang.String getRel()
public void setRel(java.lang.String rel)
rel
- organization type or null
to resetpublic boolean hasRel()
public Where getWhere()
public void setWhere(Where where)
where
- office location or null
to resetpublic boolean hasWhere()
public static ExtensionDescription getDefaultDescription(boolean required, boolean repeatable)
required
- whether it is requiredrepeatable
- whether it is repeatablepublic java.lang.String toString()
toString
in class java.lang.Object