Class PagedMeasurementCollectionRepresentation
- java.lang.Object
-
- com.cumulocity.rest.representation.BaseResourceRepresentation
-
- com.cumulocity.rest.representation.AbstractExtensibleRepresentation
-
- com.cumulocity.rest.representation.BaseResourceWithExplainRepresentation
-
- com.cumulocity.rest.representation.BaseCollectionRepresentation<MeasurementRepresentation>
-
- com.cumulocity.rest.representation.measurement.MeasurementCollectionRepresentation
-
- com.cumulocity.sdk.client.measurement.PagedMeasurementCollectionRepresentation
-
- All Implemented Interfaces:
ResourceRepresentation
,PagedCollectionRepresentation<MeasurementRepresentation>
,Iterable<MeasurementRepresentation>
,org.svenson.DynamicProperties
public class PagedMeasurementCollectionRepresentation extends MeasurementCollectionRepresentation implements PagedCollectionRepresentation<MeasurementRepresentation>
-
-
Constructor Summary
Constructors Constructor Description PagedMeasurementCollectionRepresentation(MeasurementCollectionRepresentation collection, PagedCollectionResource<MeasurementRepresentation,? extends MeasurementCollectionRepresentation> collectionResource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<MeasurementRepresentation>
allPages()
Iterable<MeasurementRepresentation>
elements(int limit)
-
Methods inherited from class com.cumulocity.rest.representation.measurement.MeasurementCollectionRepresentation
getMeasurements, iterator, setMeasurements
-
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
-
PagedMeasurementCollectionRepresentation
public PagedMeasurementCollectionRepresentation(MeasurementCollectionRepresentation collection, PagedCollectionResource<MeasurementRepresentation,? extends MeasurementCollectionRepresentation> collectionResource)
-
-
Method Detail
-
allPages
public Iterable<MeasurementRepresentation> allPages()
- Specified by:
allPages
in interfacePagedCollectionRepresentation<MeasurementRepresentation>
-
elements
public Iterable<MeasurementRepresentation> elements(int limit)
- Specified by:
elements
in interfacePagedCollectionRepresentation<MeasurementRepresentation>
-
-