|
|||||||||
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<ContactEntry>
com.google.gdata.data.extensions.ContactEntry
ContactEntry
instead.
@Deprecated public class ContactEntry
Extension class for manipulating entries of the Contact kind.
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 | |
---|---|
static Category |
CONTACT_CATEGORY
Deprecated. Kind category used to label feeds or entries that have Contact extension data. |
static java.lang.String |
CONTACT_KIND
Deprecated. Kind term value for Contact category labels. |
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 | |
---|---|
ContactEntry()
Deprecated. Constructs a new empty ContactEntry with the appropriate kind category to indicate that it is a contact. |
|
ContactEntry(BaseEntry<?> sourceEntry)
Deprecated. Constructs a new ContactEntry by doing a shallow copy of data from an existing BaseEntry intance. |
Method Summary | |
---|---|
void |
addEmailAddress(Email email)
Deprecated. |
void |
addImAddress(Im im)
Deprecated. |
void |
addLocation(GeoPt geoPt)
Deprecated. |
void |
addPhoneNumber(PhoneNumber phoneNumber)
Deprecated. |
void |
addPostalAddress(PostalAddress postalAddress)
Deprecated. |
void |
declareExtensions(ExtensionProfile extProfile)
Deprecated. Initializes an ExtensionProfile based upon the extensions expected by an ContactEntry. |
java.util.List<Email> |
getEmailAddresses()
Deprecated. |
java.util.List<Im> |
getImAddresses()
Deprecated. |
java.util.List<GeoPt> |
getLocations()
Deprecated. |
Organization |
getOrganization()
Deprecated. |
java.util.List<PhoneNumber> |
getPhoneNumbers()
Deprecated. |
java.util.List<PostalAddress> |
getPostalAddresses()
Deprecated. |
boolean |
isDeleted()
Deprecated. |
void |
setDeleted()
Deprecated. |
void |
setOrganization(Organization org)
Deprecated. |
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, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CONTACT_KIND
public static final Category CONTACT_CATEGORY
Constructor Detail |
---|
public ContactEntry()
public ContactEntry(BaseEntry<?> sourceEntry)
Method Detail |
---|
public void declareExtensions(ExtensionProfile extProfile)
declareExtensions
in interface Kind.Adaptor
declareExtensions
in class ExtensionPoint
extProfile
- the ExtensionProfile to initialize.ExtensionProfile.addDeclarations(Kind.Adaptor)
public java.util.List<Email> getEmailAddresses()
public void addEmailAddress(Email email)
public java.util.List<Im> getImAddresses()
public void addImAddress(Im im)
public java.util.List<PhoneNumber> getPhoneNumbers()
public void addPhoneNumber(PhoneNumber phoneNumber)
public java.util.List<PostalAddress> getPostalAddresses()
public void addPostalAddress(PostalAddress postalAddress)
public Organization getOrganization()
public void setOrganization(Organization org)
public java.util.List<GeoPt> getLocations()
public void addLocation(GeoPt geoPt)
public void setDeleted()
public boolean isDeleted()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |