# Google Data APIs Client Library (1.43.0)

## com.google.gdata.data
Interface IEntry

All Superinterfaces:
  IAtom

All Known Subinterfaces:
  IMediaEntry

All Known Implementing Classes:
  AbPageVariationEntry, AccountEntry, AclEntry, ActivityEntry, AlbumEntry, AnnouncementEntry, AnnouncementsPageEntry, AttachmentEntry, AttendeeEntry, AudioEntry, BaseActivityEntry, BaseContentEntry, BaseEntry, BaseEventEntry, BaseHealthEntry, BasePageEntry, BasePersonEntry, BlogEntry, CalendarAclEntry, CalendarEntry, CalendarEventEntry, CaptionTrackEntry, CellEntry, ChannelEntry, CodeSearchEntry, CollectionEntry, CombinationEntry, CommentEntry, CommentEntry, CommentEntry, CommentEntry, ComplaintEntry, ContactEntry, ContactEntry, ContactGroupEntry, ContentEntry, CrawlIssueEntry, CreationActivityEntry, DataEntry, DeletionActivityEntry, DocumentEntry, DocumentEntry, DocumentExportEntry, DocumentListEntry, EditActivityEntry, EmailListEntry, EmailListRecipientEntry, Entry, EventEntry, ExperimentEntry, FavoriteEntry, FeatureEntry, FeedLinkEntry, FileCabinetPageEntry, FileEntry, FolderEntry, FriendEntry, GenericEntry, GlossaryEntry, GoogleBaseEntry, GoogleBaseMediaEntry, GphotoEntry, IssueCommentsEntry, IssuesEntry, KeywordEntry, ListEntry, ListItemEntry, ListPageEntry, MailItemEntry, ManagementEntry, MapEntry, MediaEntry, MessageEntry, MessageEntry, MetadataEntry, MoveActivityEntry, NicknameEntry, PageEntry, PdfEntry, PhotoEntry, PlaylistEntry, PlaylistLinkEntry, PortfolioEntry, PositionEntry, PostEntry, PresentationEntry, ProfileEntry, ProfileEntry, ProjectSummaryEntry, RatingEntry, RecordEntry, RecoveryActivityEntry, RegisterEntry, RevisionEntry, SectionEntry, SidewikiEntry, SidewikiUserEntry, SiteEntry, SitemapsEntry, SitemapsMobileEntry, SitemapsNewsEntry, SitemapsRegularEntry, SitesEntry, SpreadsheetEntry, SpreadsheetEntry, SubscriptionEntry, TableEntry, TagEntry, TransactionEntry, TranslationMemoryEntry, UserEntry, UserEntry, UserEventEntry, UserProfileEntry, VariationEntry, VersionEntry, VideoEntry, VideoMessageEntry, VolumeEntry, WebAttachmentEntry, WebPageEntry, WorksheetEntry

    public interface IEntry

extends IAtom

Shared interface for model and data BaseEntry to implement.

Method Summary
`boolean` `getCanEdit()` Returns `true` if the entry can be modified by a client.
`IContent` `getContent()` Gets the content of this entry.
`DateTime` `getEdited()` Get a `DateTime` instance representing the last time this entry was edited.
`ILink` `getEditLink()` Gets the edit link, which is the link to PUT an updated version of the entry to.
`ILink` `getMediaEditLink()` Gets the media-edit link, which is the link to PUT an updated version of the media content to.
`DateTime` `getPublished()` Get a `DateTime` instance representing the time that this entry was created.
`ILink` `getResumableEditMediaLink()` Gets the resumable-edit-media link, which is the link to PUT an updated version of the media content to using Resumable Upload IO.
`java.lang.String` `getSelectedFields()` Returns the set of selected fields for the entry if the entry contains a partial representation or `null` if it is a full representation.
`ITextConstruct` `getSummary()` Returns the atom:summary element of this entry.
`void` `setCanEdit(boolean canEdit)` Sets whether the server allows this entry to be modified by the client.
`void` `setEdited(DateTime edited)` Set the last time this entry was edited using the app:edited element.
`void` `setPublished(DateTime published)` Sets the date of publishing for this entry.
`void` `setSelectedFields(java.lang.String fields)` Sets the current fields selection for this partial entry.

Methods inherited from interface com.google.gdata.data.IAtom
`addLink, getAuthors, getCategories, getEtag, getId, getKind, getLink, getLinks, getSelfLink, getTitle, getUpdated, getVersionId, removeLinks, removeLinks, setEtag, setId, setKind, setService, setUpdated, setVersionId`

Method Detail

### getEdited

    DateTime getEdited()

  Get a `DateTime` instance representing the last time this entry was edited. Represents the app:edited element.

### setEdited

    void setEdited(DateTime edited)

  Set the last time this entry was edited using the app:edited element.

### getPublished

    DateTime getPublished()

  Get a `DateTime` instance representing the time that this entry was created. Represents the atom:published element.

### setPublished

    void setPublished(DateTime published)

  Sets the date of publishing for this entry. Used on the server to specify when the entry was created.

### getCanEdit

    boolean getCanEdit()

  Returns `true` if the entry can be modified by a client.

### setCanEdit

    void setCanEdit(boolean canEdit)

  Sets whether the server allows this entry to be modified by the client.

### getContent

    IContent getContent()

  Gets the content of this entry. Represents the atom:content element.

### getSummary

    ITextConstruct getSummary()

  Returns the atom:summary element of this entry.

### getEditLink

    ILink getEditLink()

  Gets the edit link, which is the link to PUT an updated version of the entry to. Will return null if no edit link is available.

### getMediaEditLink

    ILink getMediaEditLink()

  Gets the media-edit link, which is the link to PUT an updated version of the media content to. Will return null if the media-edit link does not exist.

### getResumableEditMediaLink

    ILink getResumableEditMediaLink()

  Gets the resumable-edit-media link, which is the link to PUT an updated version of the media content to using Resumable Upload IO. Will return null if the media-edit link does not exist.

### getSelectedFields

    java.lang.String getSelectedFields()

  Returns the set of selected fields for the entry if the entry contains a partial representation or `null` if it is a full representation.

### setSelectedFields

    void setSelectedFields(java.lang.String fields)

  Sets the current fields selection for this partial entry. A value of `null` indicates the entry is not a partial entry.