|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gdata.data.AbstractExtension
com.google.gdata.data.ExtensionPoint
com.google.gdata.data.BaseEntry<E>
com.google.gdata.data.contacts.BasePersonEntry<E>
E
- concrete entry typepublic abstract class BasePersonEntry<E extends BasePersonEntry>
Describes a person entry.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gdata.data.BaseEntry |
---|
BaseEntry.AtomHandler, BaseEntry.EntryState |
Nested classes/interfaces inherited from class com.google.gdata.data.ExtensionPoint |
---|
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler |
Nested classes/interfaces inherited from class com.google.gdata.data.AbstractExtension |
---|
AbstractExtension.AttributesHandler |
Field Summary |
---|
Fields inherited from class com.google.gdata.data.BaseEntry |
---|
state |
Fields inherited from class com.google.gdata.data.ExtensionPoint |
---|
xmlBlob |
Fields inherited from class com.google.gdata.data.AbstractExtension |
---|
localName, namespace |
Constructor Summary | |
---|---|
BasePersonEntry()
Default mutable constructor. |
|
BasePersonEntry(BaseEntry<?> sourceEntry)
Constructs a new instance by doing a shallow copy of data from an existing BaseEntry instance. |
Method Summary | |
---|---|
void |
addCalendarLink(CalendarLink calendarLink)
Adds a new calendar link. |
void |
addEmailAddress(Email emailAddress)
Adds a new email address. |
void |
addEvent(Event event)
Adds a new event. |
void |
addExtendedProperty(ExtendedProperty extendedProperty)
Adds a new 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 instant messaging address. |
void |
addJot(Jot jot)
Adds a new jot. |
void |
addLanguage(Language language)
Adds a new language. |
void |
addOrganization(Organization organization)
Adds a new organization. |
void |
addPhoneNumber(PhoneNumber phoneNumber)
Adds a new phone number. |
void |
addPostalAddress(PostalAddress postalAddress)
Adds a new postal address. |
void |
addRelation(Relation relation)
Adds a new relation. |
void |
addStructuredPostalAddress(StructuredPostalAddress structuredPostalAddress)
Adds a new structured postal 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. |
BillingInformation |
getBillingInformation()
Returns the billing information. |
Birthday |
getBirthday()
Returns the birthday. |
java.util.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. |
java.util.List<Email> |
getEmailAddresses()
Returns the email addresses. |
java.util.List<Event> |
getEvents()
Returns the events. |
java.util.List<ExtendedProperty> |
getExtendedProperties()
Returns the extended properties. |
java.util.List<ExternalId> |
getExternalIds()
Returns the external ids. |
Gender |
getGender()
Returns the gender. |
java.util.List<Hobby> |
getHobbies()
Returns the hobbies. |
java.util.List<Im> |
getImAddresses()
Returns the instant messaging addresses. |
Initials |
getInitials()
Returns the initials. |
java.util.List<Jot> |
getJots()
Returns the jots. |
java.util.List<Language> |
getLanguages()
Returns the languages. |
MaidenName |
getMaidenName()
Returns the maiden name. |
Mileage |
getMileage()
Returns the mileage. |
Name |
getName()
Returns the name. |
Nickname |
getNickname()
Returns the nickname. |
Occupation |
getOccupation()
Returns the occupation. |
java.util.List<Organization> |
getOrganizations()
Returns the organizations. |
java.util.List<PhoneNumber> |
getPhoneNumbers()
Returns the phone numbers. |
java.util.List<PostalAddress> |
getPostalAddresses()
Returns the postal addresses. |
Priority |
getPriority()
Returns the priority. |
java.util.List<Relation> |
getRelations()
Returns the relations. |
Sensitivity |
getSensitivity()
Returns the sensitivity. |
ShortName |
getShortName()
Returns the short name. |
java.util.List<StructuredPostalAddress> |
getStructuredPostalAddresses()
Returns the structured postal addresses. |
Subject |
getSubject()
Returns the subject. |
java.util.List<UserDefinedField> |
getUserDefinedFields()
Returns the user defined fields. |
java.util.List<Website> |
getWebsites()
Returns the websites. |
Where |
getWhere()
Returns the person location. |
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 email addresses. |
boolean |
hasEvents()
Returns whether it has the events. |
boolean |
hasExtendedProperties()
Returns whether it has the extended properties. |
boolean |
hasExternalIds()
Returns whether it has the external ids. |
boolean |
hasGender()
Returns whether it has the gender. |
boolean |
hasHobbies()
Returns whether it has the hobbies. |
boolean |
hasImAddresses()
Returns whether it has the instant messaging addresses. |
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 name. |
boolean |
hasNickname()
Returns whether it has the nickname. |
boolean |
hasOccupation()
Returns whether it has the occupation. |
boolean |
hasOrganizations()
Returns whether it has the organizations. |
boolean |
hasPhoneNumbers()
Returns whether it has the phone numbers. |
boolean |
hasPostalAddresses()
Returns whether it has the 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 |
hasStructuredPostalAddresses()
Returns whether it has the structured postal 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 |
setBillingInformation(BillingInformation billingInformation)
Sets the billing information. |
void |
setBirthday(Birthday birthday)
Sets the birthday. |
void |
setDirectoryServer(DirectoryServer directoryServer)
Sets the directory server. |
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 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 |
setSubject(Subject subject)
Sets the subject. |
void |
setWhere(Where where)
Sets the person location. |
java.lang.String |
toString()
|
protected void |
validate()
Checks the attributes to see if there are any problems. |
Methods inherited from class com.google.gdata.data.BaseEntry |
---|
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, visitChildren |
Methods inherited from class com.google.gdata.data.AbstractExtension |
---|
consumeAttributes, disableStrictValidation, enableStrictValidation, eq, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, putAttributes, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BasePersonEntry()
public BasePersonEntry(BaseEntry<?> sourceEntry)
BaseEntry
instance.
sourceEntry
- source entryMethod Detail |
---|
public void declareExtensions(ExtensionProfile extProfile)
ExtensionPoint
declareExtensions
in interface Kind.Adaptor
declareExtensions
in class ExtensionPoint
extProfile
- the ExtensionProfile to initialize.ExtensionProfile.addDeclarations(Kind.Adaptor)
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 java.util.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 java.util.List<Email> getEmailAddresses()
public void addEmailAddress(Email emailAddress)
emailAddress
- email addresspublic boolean hasEmailAddresses()
public java.util.List<Event> getEvents()
public void addEvent(Event event)
event
- eventpublic boolean hasEvents()
public java.util.List<ExtendedProperty> getExtendedProperties()
public void addExtendedProperty(ExtendedProperty extendedProperty)
extendedProperty
- extended propertypublic boolean hasExtendedProperties()
public java.util.List<ExternalId> getExternalIds()
public void addExternalId(ExternalId externalId)
externalId
- external idpublic boolean hasExternalIds()
public Gender getGender()
public void setGender(Gender gender)
gender
- gender or null
to resetpublic boolean hasGender()
public java.util.List<Hobby> getHobbies()
public void addHobby(Hobby hobby)
hobby
- hobbypublic boolean hasHobbies()
public java.util.List<Im> getImAddresses()
public void addImAddress(Im imAddress)
imAddress
- instant messaging addresspublic boolean hasImAddresses()
public Initials getInitials()
public void setInitials(Initials initials)
initials
- initials or null
to resetpublic boolean hasInitials()
public java.util.List<Jot> getJots()
public void addJot(Jot jot)
jot
- jotpublic boolean hasJots()
public java.util.List<Language> getLanguages()
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
- 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 java.util.List<Organization> getOrganizations()
public void addOrganization(Organization organization)
organization
- organizationpublic boolean hasOrganizations()
public java.util.List<PhoneNumber> getPhoneNumbers()
public void addPhoneNumber(PhoneNumber phoneNumber)
phoneNumber
- phone numberpublic boolean hasPhoneNumbers()
public java.util.List<PostalAddress> getPostalAddresses()
public void addPostalAddress(PostalAddress postalAddress)
postalAddress
- postal addresspublic boolean hasPostalAddresses()
public Priority getPriority()
public void setPriority(Priority priority)
priority
- priority or null
to resetpublic boolean hasPriority()
public java.util.List<Relation> getRelations()
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 java.util.List<StructuredPostalAddress> getStructuredPostalAddresses()
public void addStructuredPostalAddress(StructuredPostalAddress structuredPostalAddress)
structuredPostalAddress
- structured postal addresspublic boolean hasStructuredPostalAddresses()
public Subject getSubject()
public void setSubject(Subject subject)
subject
- subject or null
to resetpublic boolean hasSubject()
public java.util.List<UserDefinedField> getUserDefinedFields()
public void addUserDefinedField(UserDefinedField userDefinedField)
userDefinedField
- user defined fieldpublic boolean hasUserDefinedFields()
public java.util.List<Website> getWebsites()
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()
AbstractExtension
validate
in class AbstractExtension
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |