com.cumulocity.model.event
Class AlarmList

java.lang.Object
  extended by org.svenson.AbstractDynamicProperties
      extended by com.cumulocity.model.JSONBase
          extended by com.cumulocity.model.event.AlarmList
All Implemented Interfaces:
org.svenson.DynamicProperties

public class AlarmList
extends JSONBase

This class represents a collection of Alarms. Primarily used to serialise to and from JSON.


Constructor Summary
AlarmList()
           
 
Method Summary
 List<Alarm> getAlarms()
           
 Integer getCount()
           
 void setAlarms(List<Alarm> alarms)
           
 void setCount(Integer count)
           
 
Methods inherited from class com.cumulocity.model.JSONBase
fromJSON, getJSONGenerator, getJSONParser, toJSON
 
Methods inherited from class org.svenson.AbstractDynamicProperties
getProperty, propertyNames, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlarmList

public AlarmList()
Method Detail

getCount

public Integer getCount()

setCount

public void setCount(Integer count)

getAlarms

@JSONProperty(ignoreIfNull=true)
@JSONTypeHint(value=Alarm.class)
public List<Alarm> getAlarms()

setAlarms

public void setAlarms(List<Alarm> alarms)


Copyright © 2013 (C) Cumulocity GmbH. All Rights Reserved.