public class AlarmQueryResultImpl extends java.util.ArrayList<AlarmEvent> implements AlarmQueryResult, java.io.Serializable
Dataset
is comprised of Primitive types to avoid exposing users to internal types.| Modifier and Type | Field and Description |
|---|---|
static int |
DISPLAY_PATH |
static int |
EVENT_ID |
static int |
EVENT_STATE |
static int |
EVENT_TIME |
static int |
IS_SYSTEM_EVENT |
static int |
PRIORITY |
static int |
SOURCE |
| Constructor and Description |
|---|
AlarmQueryResultImpl(AlarmQueryResult copy) |
AlarmQueryResultImpl(boolean isHistory) |
| Modifier and Type | Method and Description |
|---|---|
protected Dataset |
buildAssociatedData(AlarmEvent evt)
Builds a dataset from associated data.
|
protected Dataset |
buildDS() |
static AlarmQueryResult |
buildFrom(java.util.List<AlarmQueryResult> results)
Combines multiple results into a single one.
|
Dataset |
getAssociatedData(java.lang.String uuid)
Returns the associated data of an event as a dataset.
|
Dataset |
getDataset()
Returns the alarms as a dataset.
|
AlarmEvent |
getEvent(java.lang.String uuid)
Returns the actual AlarmEvent object for the specified event uuid.
|
protected Property[] |
getPropertiesForDS()
Gets an array of the column property types for the dataset.
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizefinalize, getClass, notify, notifyAll, wait, wait, waitadd, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArraypublic static final int EVENT_ID
public static final int SOURCE
public static final int DISPLAY_PATH
public static final int EVENT_TIME
public static final int EVENT_STATE
public static final int PRIORITY
public static final int IS_SYSTEM_EVENT
public AlarmQueryResultImpl(boolean isHistory)
public AlarmQueryResultImpl(AlarmQueryResult copy)
public static AlarmQueryResult buildFrom(java.util.List<AlarmQueryResult> results)
public Dataset getDataset()
AlarmQueryResult
History: EventId, Source, DisplayPath, EventTime, EventState, Priority, IsSystemEvent
Status: EventId, Source, DisplayPath, EventTime, State, Priority
getDataset in interface AlarmQueryResultpublic Dataset getAssociatedData(java.lang.String uuid)
AlarmQueryResultgetAssociatedData in interface AlarmQueryResultpublic AlarmEvent getEvent(java.lang.String uuid)
AlarmQueryResultgetEvent in interface AlarmQueryResultprotected Property[] getPropertiesForDS()
CommonAlarmProperties for the AlarmQueryResult
dataset.protected Dataset buildDS()
protected Dataset buildAssociatedData(AlarmEvent evt)