Package com.cumulocity.sdk.client.event
Class PagedEventCollectionRepresentation
- java.lang.Object
-
- com.cumulocity.rest.representation.BaseResourceRepresentation
-
- com.cumulocity.rest.representation.AbstractExtensibleRepresentation
-
- com.cumulocity.rest.representation.BaseResourceWithExplainRepresentation
-
- com.cumulocity.rest.representation.BaseCollectionRepresentation<EventRepresentation>
-
- com.cumulocity.rest.representation.event.EventCollectionRepresentation
-
- com.cumulocity.sdk.client.event.PagedEventCollectionRepresentation
-
- All Implemented Interfaces:
ResourceRepresentation
,PagedCollectionRepresentation<EventRepresentation>
,Iterable<EventRepresentation>
,org.svenson.DynamicProperties
public class PagedEventCollectionRepresentation extends EventCollectionRepresentation implements PagedCollectionRepresentation<EventRepresentation>
-
-
Constructor Summary
Constructors Constructor Description PagedEventCollectionRepresentation(EventCollectionRepresentation collection, PagedCollectionResource<EventRepresentation,? extends EventCollectionRepresentation> collectionResource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<EventRepresentation>
allPages()
Iterable<EventRepresentation>
elements(int limit)
-
Methods inherited from class com.cumulocity.rest.representation.event.EventCollectionRepresentation
getEvents, iterator, setEvents
-
Methods inherited from class com.cumulocity.rest.representation.BaseCollectionRepresentation
getNext, getPageStatistics, getPrev, setNext, setPageStatistics, setPrev
-
Methods inherited from class com.cumulocity.rest.representation.BaseResourceWithExplainRepresentation
getQueryPlanner, setQueryPlanner
-
Methods inherited from class com.cumulocity.rest.representation.AbstractExtensibleRepresentation
get, get, getAttrs, getProperty, hasProperty, propertyNames, removeProperty, set, set, set, setAttrs, setProperty
-
Methods inherited from class com.cumulocity.rest.representation.BaseResourceRepresentation
getSelf, getSelfDecoded, setSelf, toJSON, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
PagedEventCollectionRepresentation
public PagedEventCollectionRepresentation(EventCollectionRepresentation collection, PagedCollectionResource<EventRepresentation,? extends EventCollectionRepresentation> collectionResource)
-
-
Method Detail
-
allPages
public Iterable<EventRepresentation> allPages()
- Specified by:
allPages
in interfacePagedCollectionRepresentation<EventRepresentation>
-
elements
public Iterable<EventRepresentation> elements(int limit)
- Specified by:
elements
in interfacePagedCollectionRepresentation<EventRepresentation>
-
-