Class AlarmCollectionRepresentation
- java.lang.Object
-
- com.cumulocity.rest.representation.BaseResourceRepresentation
-
- com.cumulocity.rest.representation.AbstractExtensibleRepresentation
-
- com.cumulocity.rest.representation.BaseResourceWithExplainRepresentation
-
- com.cumulocity.rest.representation.BaseCollectionRepresentation<AlarmRepresentation>
-
- com.cumulocity.rest.representation.alarm.AlarmCollectionRepresentation
-
- All Implemented Interfaces:
ResourceRepresentation
,Iterable<AlarmRepresentation>
,org.svenson.DynamicProperties
- Direct Known Subclasses:
PagedAlarmCollectionRepresentation
public class AlarmCollectionRepresentation extends BaseCollectionRepresentation<AlarmRepresentation>
-
-
Constructor Summary
Constructors Constructor Description AlarmCollectionRepresentation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AlarmRepresentation>
getAlarms()
Iterator<AlarmRepresentation>
iterator()
void
setAlarms(List<AlarmRepresentation> alarms)
-
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
-
getAlarms
@JSONTypeHint(AlarmRepresentation.class) public List<AlarmRepresentation> getAlarms()
-
setAlarms
public void setAlarms(List<AlarmRepresentation> alarms)
-
iterator
@JSONProperty(ignore=true) public Iterator<AlarmRepresentation> iterator()
-
-