public class

AccountFeed

extends BaseFeed<F extends BaseFeed, E extends BaseEntry>
java.lang.Object
   ↳ com.google.gdata.data.AbstractExtension
     ↳ com.google.gdata.data.ExtensionPoint
       ↳ com.google.gdata.data.Source
         ↳ com.google.gdata.data.BaseFeed<F extends com.google.gdata.data.BaseFeed, E extends com.google.gdata.data.BaseEntry>
           ↳ com.google.gdata.data.analytics.AccountFeed

Class Overview

Feed element in account feed.

Summary

[Expand]
Inherited Fields
From class com.google.gdata.data.BaseFeed
From class com.google.gdata.data.Source
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
Public Constructors
AccountFeed()
Default mutable constructor.
AccountFeed(BaseFeed<?, ?> sourceFeed)
Constructs a new instance by doing a shallow copy of data from an existing BaseFeed instance.
Public Methods
void addSegment(Segment segment)
Adds a new segment.
void declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within the target extension profile.

The implementation of this method for BaseFeed will declare any extensions associated with the contained entry type.

List<Segment> getSegments()
Returns the segments.
boolean hasSegments()
Returns whether it has the segments.
String toString()
Protected Methods
void validate()
Checks the attributes to see if there are any problems.
[Expand]
Inherited Methods
From class com.google.gdata.data.BaseFeed
From class com.google.gdata.data.Source
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.IFeed
From interface com.google.gdata.data.Kind.Adaptable
From interface com.google.gdata.data.Kind.Adaptor

Public Constructors

public AccountFeed ()

Default mutable constructor.

public AccountFeed (BaseFeed<?, ?> sourceFeed)

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

Parameters
sourceFeed Source feed

Public Methods

public void addSegment (Segment segment)

Adds a new segment.

Parameters
segment Segment

public void declareExtensions (ExtensionProfile extProfile)

Declares the set of expected Extension types for an ExtensionPoint within the target extension profile. The base implementation does not declare any extensions, but can be overridden by specific types of ExtensionPoints that always contain a well-defined set of extensions.

The implementation of this method for BaseFeed will declare any extensions associated with the contained entry type.

Parameters
extProfile The ExtensionProfile to initialize.

public List<Segment> getSegments ()

Returns the segments.

Returns
  • segments

public boolean hasSegments ()

Returns whether it has the segments.

Returns
  • whether it has the segments

public String toString ()

Protected Methods

protected void validate ()

Checks the attributes to see if there are any problems. Default implementation does nothing, though generally this is discouraged unless there really are no restrictions.