Class MeasurementCollectionRepresentation
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
- All Implemented Interfaces:
ResourceRepresentation,Iterable<MeasurementRepresentation>,org.svenson.DynamicProperties
- Direct Known Subclasses:
PagedMeasurementCollectionRepresentation
public class MeasurementCollectionRepresentation
extends BaseCollectionRepresentation<MeasurementRepresentation>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioniterator()voidsetMeasurements(List<MeasurementRepresentation> measurements) Methods inherited from class com.cumulocity.rest.representation.BaseCollectionRepresentation
getNext, getPageStatistics, getPrev, setNext, setPageStatistics, setPrevMethods inherited from class com.cumulocity.rest.representation.BaseResourceWithExplainRepresentation
getQueryPlanner, setQueryPlannerMethods inherited from class com.cumulocity.rest.representation.AbstractExtensibleRepresentation
get, get, getAttrs, getProperty, hasProperty, propertyNames, removeProperty, set, set, set, setAttrs, setPropertyMethods inherited from class com.cumulocity.rest.representation.BaseResourceRepresentation
getSelf, getSelfDecoded, setSelf, toJSON, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
MeasurementCollectionRepresentation
public MeasurementCollectionRepresentation()
-
-
Method Details
-
setMeasurements
-
getMeasurements
@JSONTypeHint(MeasurementRepresentation.class) public List<MeasurementRepresentation> getMeasurements() -
iterator
-