public class

AttachmentEntry

extends BaseContentEntry<E extends BaseContentEntry<E>>
java.lang.Object
   ↳ com.google.gdata.data.AbstractExtension
     ↳ com.google.gdata.data.ExtensionPoint
       ↳ com.google.gdata.data.BaseEntry<E extends com.google.gdata.data.BaseEntry>
         ↳ com.google.gdata.data.media.MediaEntry<E extends com.google.gdata.data.BaseEntry<E>>
           ↳ com.google.gdata.data.sites.BaseContentEntry<E extends com.google.gdata.data.sites.BaseContentEntry<E>>
             ↳ com.google.gdata.data.sites.AttachmentEntry

Class Overview

Describes an attachment entry.

Summary

Constants
String KIND Attachment attachment kind kind term value.
Fields
public static final Category CATEGORY Attachment attachment kind kind category.
[Expand]
Inherited Fields
From class com.google.gdata.data.BaseEntry
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
Public Constructors
AttachmentEntry()
Default mutable constructor.
AttachmentEntry(BaseEntry<?> sourceEntry)
Constructs a new instance by doing a shallow copy of data from an existing BaseEntry instance.
Public Methods
Link getParentLink()
Returns the parent sites link.
String toString()
[Expand]
Inherited Methods
From class com.google.gdata.data.sites.BaseContentEntry
From class com.google.gdata.data.media.MediaEntry
From class com.google.gdata.data.BaseEntry
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
From class java.lang.Object
From interface com.google.gdata.data.Extension
From interface com.google.gdata.data.IAtom
From interface com.google.gdata.data.IEntry
From interface com.google.gdata.data.Kind.Adaptable
From interface com.google.gdata.data.Kind.Adaptor
From interface com.google.gdata.data.media.IMediaEntry

Constants

public static final String KIND

Attachment attachment kind kind term value.

Constant Value: "http://schemas.google.com/sites/2008#attachment"

Fields

public static final Category CATEGORY

Attachment attachment kind kind category.

Public Constructors

public AttachmentEntry ()

Default mutable constructor.

public AttachmentEntry (BaseEntry<?> sourceEntry)

Constructs a new instance by doing a shallow copy of data from an existing BaseEntry instance.

Parameters
sourceEntry Source entry

Public Methods

public Link getParentLink ()

Returns the parent sites link.

Returns
  • Parent sites link or null for none.

public String toString ()