public class EventTypeVO
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
alarmLevel |
private com.serotonin.web.i18n.LocalizableMessage |
description |
private int |
duplicateHandling |
private java.lang.String |
eventDetectorKey |
private java.util.List<EventHandlerVO> |
handlers |
private int |
typeId
The type of event.
|
private int |
typeRef1
For data point event, the data point id For data source event, the data source id For system event, the type id
|
private int |
typeRef2
For data point event, the point event detector id For data source event, the data source event type For system
event, undefined
|
Constructor and Description |
---|
EventTypeVO(int typeId,
int typeRef1,
int typeRef2) |
EventTypeVO(int typeId,
int typeRef1,
int typeRef2,
com.serotonin.web.i18n.LocalizableMessage description,
int alarmLevel) |
EventTypeVO(int typeId,
int typeRef1,
int typeRef2,
com.serotonin.web.i18n.LocalizableMessage description,
int alarmLevel,
int duplicateHandling) |
EventTypeVO(int typeId,
int typeRef1,
int typeRef2,
com.serotonin.web.i18n.LocalizableMessage description,
int alarmLevel,
java.lang.String eventDetectorKey) |
Modifier and Type | Method and Description |
---|---|
EventType |
createEventType() |
int |
getAlarmLevel() |
com.serotonin.web.i18n.LocalizableMessage |
getDescription() |
java.lang.String |
getEventDetectorKey() |
java.util.List<EventHandlerVO> |
getHandlers() |
int |
getTypeId() |
int |
getTypeRef1() |
int |
getTypeRef2() |
void |
setAlarmLevel(int alarmLevel) |
void |
setDescription(com.serotonin.web.i18n.LocalizableMessage description) |
void |
setEventDetectorKey(java.lang.String eventDetectorKey) |
void |
setHandlers(java.util.List<EventHandlerVO> handlers) |
void |
setTypeId(int typeId) |
void |
setTypeRef1(int typeRef1) |
void |
setTypeRef2(int typeRef2) |
private int typeId
private int typeRef1
private int typeRef2
private com.serotonin.web.i18n.LocalizableMessage description
private java.util.List<EventHandlerVO> handlers
private int alarmLevel
private java.lang.String eventDetectorKey
private int duplicateHandling
public EventTypeVO(int typeId, int typeRef1, int typeRef2)
public EventTypeVO(int typeId, int typeRef1, int typeRef2, com.serotonin.web.i18n.LocalizableMessage description, int alarmLevel)
public EventTypeVO(int typeId, int typeRef1, int typeRef2, com.serotonin.web.i18n.LocalizableMessage description, int alarmLevel, int duplicateHandling)
public EventTypeVO(int typeId, int typeRef1, int typeRef2, com.serotonin.web.i18n.LocalizableMessage description, int alarmLevel, java.lang.String eventDetectorKey)
public EventType createEventType()
public int getTypeId()
public void setTypeId(int typeId)
public int getTypeRef1()
public void setTypeRef1(int typeRef1)
public int getTypeRef2()
public void setTypeRef2(int typeRef2)
public com.serotonin.web.i18n.LocalizableMessage getDescription()
public void setDescription(com.serotonin.web.i18n.LocalizableMessage description)
public java.util.List<EventHandlerVO> getHandlers()
public void setHandlers(java.util.List<EventHandlerVO> handlers)
public int getAlarmLevel()
public void setAlarmLevel(int alarmLevel)
public java.lang.String getEventDetectorKey()
public void setEventDetectorKey(java.lang.String eventDetectorKey)