public class SectionEntry extends BaseEntry<SectionEntry>
BaseEntry.AtomHandler
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler
Constructor and Description |
---|
SectionEntry()
Default mutable constructor.
|
SectionEntry(BaseEntry<?> sourceEntry)
Constructs a new instance by doing a shallow copy of data from an existing
BaseEntry instance. |
Modifier and Type | Method and Description |
---|---|
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() |
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
addExtension, addRepeatingExtension, generateCumulativeXmlBlob, getExtension, getExtensions, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit
disableStrictValidation, enableStrictValidation, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, setImmutable
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