public class ScheduledEventType extends EventType
EventType.DuplicateHandling, EventType.EventSources| Modifier and Type | Field and Description |
|---|---|
private int |
duplicateHandling |
private int |
scheduleId |
SOURCE_CODES| Constructor and Description |
|---|
ScheduledEventType() |
ScheduledEventType(int scheduleId) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
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 |
getReferenceId1() |
int |
getReferenceId2() |
int |
getScheduleId()
Convenience method that keeps us from having to cast.
|
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, getDataPointId, getDataSource, getDataSourceId, getInt, getMaintenanceEventId, getPointEventDetectorId, getPointEventDetectorId, getPublisher, getPublisherId, getScheduledEventId, isSystemMessagepublic ScheduledEventType()
public ScheduledEventType(int scheduleId)
public int getEventSourceId()
getEventSourceId in class EventTypepublic int getScheduleId()
EventTypegetScheduleId in class EventTypepublic java.lang.String toString()
toString in class java.lang.Objectpublic int getDuplicateHandling()
EventTypegetDuplicateHandling in class EventTypepublic void setDuplicateHandling(int duplicateHandling)
public int getReferenceId1()
getReferenceId1 in class EventTypepublic int getReferenceId2()
getReferenceId2 in class EventTypepublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic void jsonSerialize(java.util.Map<java.lang.String,java.lang.Object> map)
jsonSerialize in interface com.serotonin.json.JsonSerializablejsonSerialize in class EventTypepublic void jsonDeserialize(com.serotonin.json.JsonReader reader,
com.serotonin.json.JsonObject json)
throws com.serotonin.json.JsonException
jsonDeserialize in interface com.serotonin.json.JsonSerializablejsonDeserialize in class EventTypecom.serotonin.json.JsonException