public class DataFeed extends BaseFeed<DataFeed,DataEntry>
BaseFeed.FeedHandler, BaseFeed.FeedStateSource.SourceHandler, Source.SourceStateExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandlerAbstractExtension.AttributesHandlerentries, entryClass, feedStatexmlBloblocalName, namespace| Constructor and Description |
|---|
DataFeed()
Default mutable constructor.
|
DataFeed(BaseFeed<?,?> sourceFeed)
Constructs a new instance by doing a shallow copy of data from an existing
BaseFeed instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
addDataSource(DataSource dataSource)
Adds a new data source.
|
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.
|
Aggregates |
getAggregates()
Returns the aggregates.
|
ContainsSampledData |
getContainsSampledData()
Returns the flag indicating whether response contains sampled data.
|
java.util.List<DataSource> |
getDataSources()
Returns the data sources.
|
EndDate |
getEndDate()
Returns the end date.
|
java.util.List<Segment> |
getSegments()
Returns the segments.
|
StartDate |
getStartDate()
Returns the start date.
|
boolean |
hasAggregates()
Returns whether it has the aggregates.
|
boolean |
hasContainsSampledData()
Returns whether it has the flag indicating whether response contains
sampled data.
|
boolean |
hasDataSources()
Returns whether it has the data sources.
|
boolean |
hasEndDate()
Returns whether it has the end date.
|
boolean |
hasSegments()
Returns whether it has the segments.
|
boolean |
hasStartDate()
Returns whether it has the start date.
|
void |
setAggregates(Aggregates aggregates)
Sets the aggregates.
|
void |
setContainsSampledData(ContainsSampledData containsSampledData)
Sets the flag indicating whether response contains sampled data.
|
void |
setEndDate(EndDate endDate)
Sets the end date.
|
void |
setStartDate(StartDate startDate)
Sets the start date.
|
java.lang.String |
toString() |
protected void |
validate()
Checks the attributes to see if there are any problems.
|
addAdaptor, createEntry, generate, generateAtom, generateFeedEnd, generateFeedStart, generateRss, getAdaptedFeed, getAdaptor, getAdaptors, getCanPost, getEntries, getEntries, getEntryPostLink, getEtag, getFeedBatchLink, getHandler, getItemsPerPage, getKind, getNextLink, getPreviousLink, getSelectedFields, getSelf, getSelfLink, getService, getStartIndex, getTotalResults, getVersionId, insert, parseAtom, parseAtom, parseAtom, readFeed, readFeed, setCanPost, setEntries, setEtag, setItemsPerPage, setKind, setSelectedFields, setService, setStartIndex, setTotalResults, setVersionId, visitChildrenaddHtmlLink, addLink, addLink, generateInnerAtom, getAuthors, getCategories, getContributors, getGenerator, getHtmlLink, getIcon, getId, getLink, getLinks, getLinks, getLogo, getRights, getSubtitle, getTitle, getUpdated, removeLinks, removeLinks, setGenerator, setGenerator, setIcon, setId, setLogo, setRights, setSubtitle, setTitle, setUpdatedaddExtension, addExtension, addRepeatingExtension, addRepeatingExtension, checkRequiredExtensions, createExtensionInstance, generate, generateCumulativeXmlBlob, generateExtensions, generateStartElement, getExtension, getExtensionDescription, getExtensionHandler, getExtensions, getManifest, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, initializeArbitraryXml, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit, visitChildconsumeAttributes, disableStrictValidation, enableStrictValidation, eq, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, putAttributes, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutableclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetGenerator, getLogo, getSubtitle, setGenerator, setLogoaddLink, getAuthors, getCategories, getId, getLink, getLinks, getTitle, getUpdated, removeLinks, removeLinks, setId, setUpdatedpublic void declareExtensions(ExtensionProfile extProfile)
BaseFeedThe implementation of this method for BaseFeed will declare any extensions associated with the contained entry type.
declareExtensions in interface Kind.AdaptordeclareExtensions in class BaseFeed<DataFeed,DataEntry>extProfile - the ExtensionProfile to initialize.ExtensionProfile.addDeclarations(Kind.Adaptor)public Aggregates getAggregates()
public void setAggregates(Aggregates aggregates)
aggregates - aggregates or null to resetpublic boolean hasAggregates()
public ContainsSampledData getContainsSampledData()
public void setContainsSampledData(ContainsSampledData containsSampledData)
containsSampledData - flag indicating whether response contains
sampled data or null to resetpublic boolean hasContainsSampledData()
public java.util.List<DataSource> getDataSources()
public void addDataSource(DataSource dataSource)
dataSource - data sourcepublic boolean hasDataSources()
public EndDate getEndDate()
public void setEndDate(EndDate endDate)
endDate - end date or null to resetpublic boolean hasEndDate()
public java.util.List<Segment> getSegments()
public void addSegment(Segment segment)
segment - segmentpublic boolean hasSegments()
public StartDate getStartDate()
public void setStartDate(StartDate startDate)
startDate - start date or null to resetpublic boolean hasStartDate()
protected void validate()
AbstractExtensionvalidate in class AbstractExtensionpublic java.lang.String toString()
toString in class java.lang.Object