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 |
buildADDS(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, trimToSize
finalize, getClass, notify, notifyAll, wait, wait, wait
add, 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, toArray
public 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
getDataset
in interface AlarmQueryResult
Dataset
public Dataset getAssociatedData(java.lang.String uuid)
AlarmQueryResult
getAssociatedData
in interface AlarmQueryResult
Dataset
public AlarmEvent getEvent(java.lang.String uuid)
AlarmQueryResult
getEvent
in interface AlarmQueryResult
AlarmEvent
protected Property[] getPropertiesForDS()
CommonAlarmProperties
for the AlarmQueryResult
dataset.protected Dataset buildDS()
protected Dataset buildADDS(AlarmEvent evt)