public class

VariationEntry

extends BaseEntry<E extends BaseEntry>
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.analytics.VariationEntry

Class Overview

Entry element for variation feed.

Summary

[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
VariationEntry()
Default mutable constructor.
VariationEntry(BaseEntry<?> sourceEntry)
Constructs a new instance by doing a shallow copy of data from an existing BaseEntry instance.
Public Methods
void declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within the target extension profile.
GwoExperimentId getExperimentId()
Returns the experiment ID.
GwoSectionId getSectionId()
Returns the section ID.
GwoVariationId getVariationId()
Returns the variation ID.
boolean hasExperimentId()
Returns whether it has the experiment ID.
boolean hasSectionId()
Returns whether it has the section ID.
boolean hasVariationId()
Returns whether it has the variation ID.
void setExperimentId(GwoExperimentId experimentId)
Sets the experiment ID.
void setSectionId(GwoSectionId sectionId)
Sets the section ID.
void setVariationId(GwoVariationId variationId)
Sets the variation ID.
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.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

Public Constructors

public VariationEntry ()

Default mutable constructor.

public VariationEntry (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 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.

Parameters
extProfile The ExtensionProfile to initialize.

public GwoExperimentId getExperimentId ()

Returns the experiment ID.

Returns
  • experiment ID

public GwoSectionId getSectionId ()

Returns the section ID.

Returns
  • section ID

public GwoVariationId getVariationId ()

Returns the variation ID.

Returns
  • variation ID

public boolean hasExperimentId ()

Returns whether it has the experiment ID.

Returns
  • whether it has the experiment ID

public boolean hasSectionId ()

Returns whether it has the section ID.

Returns
  • whether it has the section ID

public boolean hasVariationId ()

Returns whether it has the variation ID.

Returns
  • whether it has the variation ID

public void setExperimentId (GwoExperimentId experimentId)

Sets the experiment ID.

Parameters
experimentId Experiment ID or null to reset

public void setSectionId (GwoSectionId sectionId)

Sets the section ID.

Parameters
sectionId Section ID or null to reset

public void setVariationId (GwoVariationId variationId)

Sets the variation ID.

Parameters
variationId Variation ID or null to reset

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.