E - concrete entry typepublic abstract class BasePersonEntry<E extends BasePersonEntry<E>> extends BaseEntry<E>
BaseEntry.AtomHandler, BaseEntry.EntryStateExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandlerAbstractExtension.AttributesHandlerxmlBloblocalName, namespace| Constructor and Description |
|---|
BasePersonEntry()
Default mutable constructor.
|
BasePersonEntry(BaseEntry<?> sourceEntry)
Constructs a new instance by doing a shallow copy of data from an existing
BaseEntry instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
addCalendarLink(CalendarLink calendarLink)
Adds a new calendar link.
|
void |
addEmailAddress(Email emailAddress)
Adds a new contact email.
|
void |
addEvent(Event event)
Adds a new event.
|
void |
addExtendedProperty(ExtendedProperty extendedProperty)
Adds a new contact extended property.
|
void |
addExternalId(ExternalId externalId)
Adds a new external id.
|
void |
addHobby(Hobby hobby)
Adds a new hobby.
|
void |
addImAddress(Im imAddress)
Adds a new contact im.
|
void |
addJot(Jot jot)
Adds a new jot.
|
void |
addLanguage(Language language)
Adds a new language.
|
void |
addOrganization(Organization organization)
Adds a new contact organization.
|
void |
addPhoneNumber(PhoneNumber phoneNumber)
Adds a new contact phone number.
|
void |
addPostalAddress(PostalAddress postalAddress)
Adds a new contact postal address.
|
void |
addRelation(Relation relation)
Adds a new relation.
|
void |
addStructuredPostalAddress(StructuredPostalAddress structuredPostalAddress)
Adds a new contact structured address.
|
void |
addUserDefinedField(UserDefinedField userDefinedField)
Adds a new user defined field.
|
void |
addWebsite(Website website)
Adds a new website.
|
void |
declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within
the target extension profile.
|
BatchId |
getBatchId()
Returns the batch identifier.
|
BatchInterrupted |
getBatchInterrupted()
Returns the batch interruption information.
|
BatchOperation |
getBatchOperation()
Returns the batch operation.
|
BatchStatus |
getBatchStatus()
Returns the batch response status information.
|
BillingInformation |
getBillingInformation()
Returns the billing information.
|
Birthday |
getBirthday()
Returns the birthday.
|
List<CalendarLink> |
getCalendarLinks()
Returns the calendar links.
|
Link |
getContactEditPhotoLink()
Returns the link to edit contact photo.
|
Link |
getContactPhotoLink()
Returns the link that provides the contact photo.
|
DirectoryServer |
getDirectoryServer()
Returns the directory server.
|
List<Email> |
getEmailAddresses()
Returns the contact emails.
|
List<Event> |
getEvents()
Returns the events.
|
List<ExtendedProperty> |
getExtendedProperties()
Returns the contact extended properties.
|
List<ExternalId> |
getExternalIds()
Returns the external ids.
|
FileAs |
getFileAs()
Returns the person file as.
|
Gender |
getGender()
Returns the gender.
|
List<Hobby> |
getHobbies()
Returns the hobbies.
|
List<Im> |
getImAddresses()
Returns the contact ims.
|
Initials |
getInitials()
Returns the initials.
|
List<Jot> |
getJots()
Returns the jots.
|
List<Language> |
getLanguages()
Returns the languages.
|
MaidenName |
getMaidenName()
Returns the maiden name.
|
Mileage |
getMileage()
Returns the mileage.
|
Name |
getName()
Returns the contact name.
|
Nickname |
getNickname()
Returns the nickname.
|
Occupation |
getOccupation()
Returns the occupation.
|
List<Organization> |
getOrganizations()
Returns the contact organizations.
|
List<PhoneNumber> |
getPhoneNumbers()
Returns the contact phone numbers.
|
List<PostalAddress> |
getPostalAddresses()
Returns the contact postal addresses.
|
Priority |
getPriority()
Returns the priority.
|
List<Relation> |
getRelations()
Returns the relations.
|
Sensitivity |
getSensitivity()
Returns the sensitivity.
|
ShortName |
getShortName()
Returns the short name.
|
Status |
getStatus()
Returns the status.
|
List<StructuredPostalAddress> |
getStructuredPostalAddresses()
Returns the contact structured addresses.
|
Subject |
getSubject()
Returns the subject.
|
List<UserDefinedField> |
getUserDefinedFields()
Returns the user defined fields.
|
List<Website> |
getWebsites()
Returns the websites.
|
Where |
getWhere()
Returns the person location.
|
boolean |
hasBatchId()
Returns whether it has the batch identifier.
|
boolean |
hasBatchInterrupted()
Returns whether it has the batch interruption information.
|
boolean |
hasBatchOperation()
Returns whether it has the batch operation.
|
boolean |
hasBatchStatus()
Returns whether it has the batch response status information.
|
boolean |
hasBillingInformation()
Returns whether it has the billing information.
|
boolean |
hasBirthday()
Returns whether it has the birthday.
|
boolean |
hasCalendarLinks()
Returns whether it has the calendar links.
|
boolean |
hasDirectoryServer()
Returns whether it has the directory server.
|
boolean |
hasEmailAddresses()
Returns whether it has the contact emails.
|
boolean |
hasEvents()
Returns whether it has the events.
|
boolean |
hasExtendedProperties()
Returns whether it has the contact extended properties.
|
boolean |
hasExternalIds()
Returns whether it has the external ids.
|
boolean |
hasFileAs()
Returns whether it has the person file as.
|
boolean |
hasGender()
Returns whether it has the gender.
|
boolean |
hasHobbies()
Returns whether it has the hobbies.
|
boolean |
hasImAddresses()
Returns whether it has the contact ims.
|
boolean |
hasInitials()
Returns whether it has the initials.
|
boolean |
hasJots()
Returns whether it has the jots.
|
boolean |
hasLanguages()
Returns whether it has the languages.
|
boolean |
hasMaidenName()
Returns whether it has the maiden name.
|
boolean |
hasMileage()
Returns whether it has the mileage.
|
boolean |
hasName()
Returns whether it has the contact name.
|
boolean |
hasNickname()
Returns whether it has the nickname.
|
boolean |
hasOccupation()
Returns whether it has the occupation.
|
boolean |
hasOrganizations()
Returns whether it has the contact organizations.
|
boolean |
hasPhoneNumbers()
Returns whether it has the contact phone numbers.
|
boolean |
hasPostalAddresses()
Returns whether it has the contact postal addresses.
|
boolean |
hasPriority()
Returns whether it has the priority.
|
boolean |
hasRelations()
Returns whether it has the relations.
|
boolean |
hasSensitivity()
Returns whether it has the sensitivity.
|
boolean |
hasShortName()
Returns whether it has the short name.
|
boolean |
hasStatus()
Returns whether it has the status.
|
boolean |
hasStructuredPostalAddresses()
Returns whether it has the contact structured addresses.
|
boolean |
hasSubject()
Returns whether it has the subject.
|
boolean |
hasUserDefinedFields()
Returns whether it has the user defined fields.
|
boolean |
hasWebsites()
Returns whether it has the websites.
|
boolean |
hasWhere()
Returns whether it has the person location.
|
void |
setBatchId(BatchId batchId)
Sets the batch identifier.
|
void |
setBatchInterrupted(BatchInterrupted batchInterrupted)
Sets the batch interruption information.
|
void |
setBatchOperation(BatchOperation batchOperation)
Sets the batch operation.
|
void |
setBatchStatus(BatchStatus batchStatus)
Sets the batch response status information.
|
void |
setBillingInformation(BillingInformation billingInformation)
Sets the billing information.
|
void |
setBirthday(Birthday birthday)
Sets the birthday.
|
void |
setDirectoryServer(DirectoryServer directoryServer)
Sets the directory server.
|
void |
setFileAs(FileAs fileAs)
Sets the person file as.
|
void |
setGender(Gender gender)
Sets the gender.
|
void |
setInitials(Initials initials)
Sets the initials.
|
void |
setMaidenName(MaidenName maidenName)
Sets the maiden name.
|
void |
setMileage(Mileage mileage)
Sets the mileage.
|
void |
setName(Name name)
Sets the contact name.
|
void |
setNickname(Nickname nickname)
Sets the nickname.
|
void |
setOccupation(Occupation occupation)
Sets the occupation.
|
void |
setPriority(Priority priority)
Sets the priority.
|
void |
setSensitivity(Sensitivity sensitivity)
Sets the sensitivity.
|
void |
setShortName(ShortName shortName)
Sets the short name.
|
void |
setStatus(Status status)
Sets the status.
|
void |
setSubject(Subject subject)
Sets the subject.
|
void |
setWhere(Where where)
Sets the person location.
|
String |
toString() |
protected void |
validate()
Checks the attributes to see if there are any problems.
|
addAdaptor, addHtmlLink, addLink, addLink, delete, generate, generateAtom, generateRss, getAdaptedEntry, getAdaptor, getAdaptors, getAuthors, getCanEdit, getCategories, getContent, getContentHandlerInfo, getContributors, getEdited, getEditLink, getEtag, getHandler, getHtmlLink, getId, getKind, getLink, getLinks, getLinks, getMediaEditLink, getPlainTextContent, getPubControl, getPublished, getResumableEditMediaLink, getRights, getSelectedFields, getSelf, getSelfLink, getService, getSource, getSummary, getTextContent, getTitle, getUpdated, getVersionId, isDraft, parseAtom, parseAtom, parseAtom, readEntry, readEntry, removeLinks, removeLinks, setCanEdit, setContent, setContent, setDraft, setEdited, setEtag, setId, setKind, setPubControl, setPublished, setRights, setSelectedFields, setService, setSource, setSummary, setTitle, setUpdated, setVersionId, update, visitChildrenaddExtension, addExtension, addRepeatingExtension, addRepeatingExtension, checkRequiredExtensions, createExtensionInstance, generate, generateCumulativeXmlBlob, generateExtensions, generateStartElement, getExtension, getExtensionDescription, getExtensionHandler, getExtensions, getManifest, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, initializeArbitraryXml, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit, visitChildconsumeAttributes, disableStrictValidation, enableStrictValidation, eq, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, putAttributes, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutablepublic void declareExtensions(ExtensionProfile extProfile)
ExtensionPointdeclareExtensions in interface Kind.AdaptordeclareExtensions in class ExtensionPointextProfile - the ExtensionProfile to initialize.ExtensionProfile.addDeclarations(Kind.Adaptor)public BatchId getBatchId()
public void setBatchId(BatchId batchId)
batchId - batch identifier or null to resetpublic boolean hasBatchId()
public BatchInterrupted getBatchInterrupted()
public void setBatchInterrupted(BatchInterrupted batchInterrupted)
batchInterrupted - batch interruption information or null
to resetpublic boolean hasBatchInterrupted()
public BatchOperation getBatchOperation()
public void setBatchOperation(BatchOperation batchOperation)
batchOperation - batch operation or null to resetpublic boolean hasBatchOperation()
public BatchStatus getBatchStatus()
public void setBatchStatus(BatchStatus batchStatus)
batchStatus - batch response status information or null
to resetpublic boolean hasBatchStatus()
public BillingInformation getBillingInformation()
public void setBillingInformation(BillingInformation billingInformation)
billingInformation - billing information or null to resetpublic boolean hasBillingInformation()
public Birthday getBirthday()
public void setBirthday(Birthday birthday)
birthday - birthday or null to resetpublic boolean hasBirthday()
public List<CalendarLink> getCalendarLinks()
public void addCalendarLink(CalendarLink calendarLink)
calendarLink - calendar linkpublic boolean hasCalendarLinks()
public DirectoryServer getDirectoryServer()
public void setDirectoryServer(DirectoryServer directoryServer)
directoryServer - directory server or null to resetpublic boolean hasDirectoryServer()
public List<Email> getEmailAddresses()
public void addEmailAddress(Email emailAddress)
emailAddress - contact emailpublic boolean hasEmailAddresses()
public void addEvent(Event event)
event - eventpublic boolean hasEvents()
public List<ExtendedProperty> getExtendedProperties()
public void addExtendedProperty(ExtendedProperty extendedProperty)
extendedProperty - contact extended propertypublic boolean hasExtendedProperties()
public List<ExternalId> getExternalIds()
public void addExternalId(ExternalId externalId)
externalId - external idpublic boolean hasExternalIds()
public FileAs getFileAs()
public void setFileAs(FileAs fileAs)
fileAs - person file as or null to resetpublic boolean hasFileAs()
public Gender getGender()
public void setGender(Gender gender)
gender - gender or null to resetpublic boolean hasGender()
public void addHobby(Hobby hobby)
hobby - hobbypublic boolean hasHobbies()
public void addImAddress(Im imAddress)
imAddress - contact impublic boolean hasImAddresses()
public Initials getInitials()
public void setInitials(Initials initials)
initials - initials or null to resetpublic boolean hasInitials()
public void addJot(Jot jot)
jot - jotpublic boolean hasJots()
public void addLanguage(Language language)
language - languagepublic boolean hasLanguages()
public MaidenName getMaidenName()
public void setMaidenName(MaidenName maidenName)
maidenName - maiden name or null to resetpublic boolean hasMaidenName()
public Mileage getMileage()
public void setMileage(Mileage mileage)
mileage - mileage or null to resetpublic boolean hasMileage()
public Name getName()
public void setName(Name name)
name - contact name or null to resetpublic boolean hasName()
public Nickname getNickname()
public void setNickname(Nickname nickname)
nickname - nickname or null to resetpublic boolean hasNickname()
public Occupation getOccupation()
public void setOccupation(Occupation occupation)
occupation - occupation or null to resetpublic boolean hasOccupation()
public List<Organization> getOrganizations()
public void addOrganization(Organization organization)
organization - contact organizationpublic boolean hasOrganizations()
public List<PhoneNumber> getPhoneNumbers()
public void addPhoneNumber(PhoneNumber phoneNumber)
phoneNumber - contact phone numberpublic boolean hasPhoneNumbers()
public List<PostalAddress> getPostalAddresses()
public void addPostalAddress(PostalAddress postalAddress)
postalAddress - contact postal addresspublic boolean hasPostalAddresses()
public Priority getPriority()
public void setPriority(Priority priority)
priority - priority or null to resetpublic boolean hasPriority()
public void addRelation(Relation relation)
relation - relationpublic boolean hasRelations()
public Sensitivity getSensitivity()
public void setSensitivity(Sensitivity sensitivity)
sensitivity - sensitivity or null to resetpublic boolean hasSensitivity()
public ShortName getShortName()
public void setShortName(ShortName shortName)
shortName - short name or null to resetpublic boolean hasShortName()
public Status getStatus()
public void setStatus(Status status)
status - status or null to resetpublic boolean hasStatus()
public List<StructuredPostalAddress> getStructuredPostalAddresses()
public void addStructuredPostalAddress(StructuredPostalAddress structuredPostalAddress)
structuredPostalAddress - contact structured addresspublic boolean hasStructuredPostalAddresses()
public Subject getSubject()
public void setSubject(Subject subject)
subject - subject or null to resetpublic boolean hasSubject()
public List<UserDefinedField> getUserDefinedFields()
public void addUserDefinedField(UserDefinedField userDefinedField)
userDefinedField - user defined fieldpublic boolean hasUserDefinedFields()
public void addWebsite(Website website)
website - websitepublic boolean hasWebsites()
public Where getWhere()
public void setWhere(Where where)
where - person location or null to resetpublic boolean hasWhere()
public Link getContactEditPhotoLink()
null for none.public Link getContactPhotoLink()
null for none.protected void validate()
AbstractExtensionvalidate in class AbstractExtensionCopyright © 2012. All Rights Reserved.