public class DataPointEventType extends EventType
EventType.DuplicateHandling, EventType.EventSources
Modifier and Type | Field and Description |
---|---|
private int |
dataPointId |
private int |
dataSourceId |
private int |
duplicateHandling |
private org.apache.commons.logging.Log |
LOG |
private int |
pointEventDetectorId |
SOURCE_CODES
Constructor and Description |
---|
DataPointEventType() |
DataPointEventType(int dataPointId,
int pointEventDetectorId) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
getDataPointId()
Convenience method that keeps us from having to cast.
|
int |
getDataSourceId()
Convenience method that keeps us from having to cast.
|
int |
getDuplicateHandling()
Determines whether an event type that, once raised, will always first be deactivated or whether overriding events
can be raised.
|
int |
getEventSourceId() |
int |
getPointEventDetectorId() |
int |
getReferenceId1() |
int |
getReferenceId2() |
int |
hashCode() |
void |
jsonDeserialize(com.serotonin.json.JsonReader reader,
com.serotonin.json.JsonObject json) |
void |
jsonSerialize(java.util.Map<java.lang.String,java.lang.Object> map) |
void |
setDuplicateHandling(int duplicateHandling) |
java.lang.String |
toString() |
excludeUser, getCompoundEventDetectorId, getCompoundEventDetectorId, getDataPointId, getDataSource, getInt, getMaintenanceEventId, getPointEventDetectorId, getPointEventDetectorId, getPublisher, getPublisherId, getScheduledEventId, getScheduleId, isSystemMessage
private int dataSourceId
private int dataPointId
private int pointEventDetectorId
private int duplicateHandling
private final org.apache.commons.logging.Log LOG
public DataPointEventType()
public DataPointEventType(int dataPointId, int pointEventDetectorId)
public int getEventSourceId()
getEventSourceId
in class EventType
public int getDataSourceId()
EventType
getDataSourceId
in class EventType
public int getDataPointId()
EventType
getDataPointId
in class EventType
public int getPointEventDetectorId()
public java.lang.String toString()
toString
in class java.lang.Object
public int getDuplicateHandling()
EventType
getDuplicateHandling
in class EventType
public void setDuplicateHandling(int duplicateHandling)
public int getReferenceId1()
getReferenceId1
in class EventType
public int getReferenceId2()
getReferenceId2
in class EventType
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public void jsonSerialize(java.util.Map<java.lang.String,java.lang.Object> map)
jsonSerialize
in interface com.serotonin.json.JsonSerializable
jsonSerialize
in class EventType
public void jsonDeserialize(com.serotonin.json.JsonReader reader, com.serotonin.json.JsonObject json) throws com.serotonin.json.JsonException
jsonDeserialize
in interface com.serotonin.json.JsonSerializable
jsonDeserialize
in class EventType
com.serotonin.json.JsonException