Class EventCollectionRepresentation
- 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
-
- All Implemented Interfaces:
ResourceRepresentation
,Iterable<EventRepresentation>
,org.svenson.DynamicProperties
- Direct Known Subclasses:
PagedEventCollectionRepresentation
public class EventCollectionRepresentation extends BaseCollectionRepresentation<EventRepresentation>
-
-
Constructor Summary
Constructors Constructor Description EventCollectionRepresentation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<EventRepresentation>
getEvents()
Iterator<EventRepresentation>
iterator()
void
setEvents(List<EventRepresentation> events)
-
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
-
-
-
-
Method Detail
-
getEvents
public List<EventRepresentation> getEvents()
-
setEvents
@JSONTypeHint(EventRepresentation.class) public void setEvents(List<EventRepresentation> events)
-
iterator
@JSONProperty(ignore=true) public Iterator<EventRepresentation> iterator()
-
-