|
|||||||||
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<SectionEntry>
com.google.gdata.data.analytics.SectionEntry
public class SectionEntry
Entry element for section feed.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gdata.data.BaseEntry |
---|
BaseEntry.AtomHandler |
Nested classes/interfaces inherited from class com.google.gdata.data.ExtensionPoint |
---|
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler |
Constructor Summary | |
---|---|
SectionEntry()
Default mutable constructor. |
|
SectionEntry(BaseEntry<?> sourceEntry)
Constructs a new instance by doing a shallow copy of data from an existing BaseEntry instance. |
Method Summary | |
---|---|
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. |
GwoNumVariations |
getNumVariations()
Returns the number of section variations. |
GwoSectionBeginScript |
getSectionBeginScript()
Returns the script snippet to mark the beginning of a section. |
GwoSectionEndScript |
getSectionEndScript()
Returns the script snippet to mark the end of a section. |
GwoSectionId |
getSectionId()
Returns the section ID. |
boolean |
hasExperimentId()
Returns whether it has the experiment ID. |
boolean |
hasNumVariations()
Returns whether it has the number of section variations. |
boolean |
hasSectionBeginScript()
Returns whether it has the script snippet to mark the beginning of a section. |
boolean |
hasSectionEndScript()
Returns whether it has the script snippet to mark the end of a section. |
boolean |
hasSectionId()
Returns whether it has the section ID. |
void |
setExperimentId(GwoExperimentId experimentId)
Sets the experiment ID. |
void |
setNumVariations(GwoNumVariations numVariations)
Sets the number of section variations. |
void |
setSectionBeginScript(GwoSectionBeginScript sectionBeginScript)
Sets the script snippet to mark the beginning of a section. |
void |
setSectionEndScript(GwoSectionEndScript sectionEndScript)
Sets the script snippet to mark the end of a section. |
void |
setSectionId(GwoSectionId sectionId)
Sets the section ID. |
java.lang.String |
toString()
|
Methods inherited from class com.google.gdata.data.BaseEntry |
---|
addAdaptor, addHtmlLink, addLink, addLink, delete, generate, generateAtom, generateRss, getAdaptedEntry, getAdaptor, getAdaptors, getAuthors, getCanEdit, getCategories, getContent, 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 |
Methods inherited from class com.google.gdata.data.ExtensionPoint |
---|
addExtension, addRepeatingExtension, generateCumulativeXmlBlob, getExtension, getExtensions, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit |
Methods inherited from class com.google.gdata.data.AbstractExtension |
---|
disableStrictValidation, enableStrictValidation, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, setImmutable |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SectionEntry()
public SectionEntry(BaseEntry<?> sourceEntry)
BaseEntry
instance.
sourceEntry
- source entryMethod Detail |
---|
public void declareExtensions(ExtensionProfile extProfile)
ExtensionPoint
declareExtensions
in interface Kind.Adaptor
declareExtensions
in class ExtensionPoint
extProfile
- the ExtensionProfile to initialize.ExtensionProfile.addDeclarations(Kind.Adaptor)
public GwoExperimentId getExperimentId()
public void setExperimentId(GwoExperimentId experimentId)
experimentId
- experiment ID or null
to resetpublic boolean hasExperimentId()
public GwoNumVariations getNumVariations()
public void setNumVariations(GwoNumVariations numVariations)
numVariations
- number of section variations or null
to
resetpublic boolean hasNumVariations()
public GwoSectionBeginScript getSectionBeginScript()
public void setSectionBeginScript(GwoSectionBeginScript sectionBeginScript)
sectionBeginScript
- script snippet to mark the beginning of a section
or null
to resetpublic boolean hasSectionBeginScript()
public GwoSectionEndScript getSectionEndScript()
public void setSectionEndScript(GwoSectionEndScript sectionEndScript)
sectionEndScript
- script snippet to mark the end of a section or
null
to resetpublic boolean hasSectionEndScript()
public GwoSectionId getSectionId()
public void setSectionId(GwoSectionId sectionId)
sectionId
- section ID or null
to resetpublic boolean hasSectionId()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |