public abstract static class IltAlarmSystem.State extends IltState implements Cloneable
Modifier and Type | Field and Description |
---|---|
protected ilog.tgo.model.internal.IltAggregateStateValue |
_alarmValues
This aggregate state value contains all the information set in the object
state regarding alarms.
|
protected ilog.tgo.model.internal.IltStateValueChangeNotifier |
_notifier |
Constructor and Description |
---|
State()
This constructor initializes an instance by setting all numbers to
0 and the boolean values to
false . |
State(ilog.tgo.model.internal.IltAggregateStateValue value)
Creates an alarm state based in the state value.
|
Modifier and Type | Method and Description |
---|---|
void |
acknowledgeAlarm(IltAlarmSeverity severity)
Acknowledge one alarm of a given severity.
|
void |
acknowledgeAllAlarms()
Acknowledges all alarms.
|
protected void |
acknowledgeAllAlarms(IlpFilter filter) |
void |
acknowledgeAllAlarms(IltAlarmSeverity severity)
Acknowledges all alarms of a given severity.
|
void |
addAcknowledgedAlarm(IltAlarmSeverity severity)
Add one acknowledged alarm of a given severity.
|
void |
addNewAlarm(IltAlarmSeverity severity)
Add one new alarm of a given severity.
|
Object |
clone()
Creates a copy of this object.
|
boolean |
equals(Object obj)
Compares this object with another object.
|
int |
getAcknowledgedAlarmCount()
Return the number of acknowledged alarms, irrespective of severity.
|
int |
getAcknowledgedAlarmCount(IltAlarmSeverity severity)
Return the number of acknowledged alarms for a given severity.
|
int |
getAlarmCount()
Return the total number of alarms, acknowledged or not, and
irrespective of severity.
|
int |
getAlarmCount(IltAlarmSeverity severity)
Return the total number of alarms, acknowledged or not, with
a given severity.
|
abstract IltAlarmSystem |
getAlarmSystem()
System whose values are being handled by this state.
|
protected int |
getCount(Object[] paths)
Return the count of alarms for the given state paths.
|
int |
getNewAlarmCount()
Return the number of new alarms, irrespective of severity.
|
int |
getNewAlarmCount(IltAlarmSeverity severity)
Return the number of new alarms of the given severity.
|
ilog.tgo.model.internal.IltStateValueChangeNotifier |
getNotifier()
Return the notifier set in this instance.
|
ilog.tgo.model.internal.IltAggregateStateValue |
getValue()
Return the values set inside the alarm aggregate state
|
protected boolean |
hasNotifier()
Return if there is a notifier set in this instance.
|
IltAlarmSeverity |
internalGetHighestAcknowledgedAlarmSeverity()
Return the highest severity for which the number of acknowledged
alarms is nonzero.
|
IltAlarmSeverity |
internalGetHighestAcknowledgedAlarmSeverity(IlpFilter filter)
Return the highest severity for which the number of acknowledged
alarms is nonzero, and that satisfies a given filter.
|
IltAlarmSeverity |
internalGetHighestAcknowledgedAlarmSeverity(IltAlarmSeverity below)
Return the highest severity less than
below for which the
number of acknowledged alarms is nonzero. |
IltAlarmSeverity |
internalGetHighestAcknowledgedAlarmSeverity(IltAlarmSeverity below,
IlpFilter filter)
Return the highest severity less than
below for which the
number of acknowledged alarms is nonzero, and that satisfies a given
filter. |
IltAlarmSeverity |
internalGetHighestAlarmSeverity()
Return the highest severity for which the number of alarms,
acknowledged or otherwise, is nonzero.
|
IltAlarmSeverity |
internalGetHighestAlarmSeverity(IlpFilter filter)
Return the highest severity for which the number of alarms,
acknowledged or otherwise, is nonzero, and that satisfies a given filter.
|
IltAlarmSeverity |
internalGetHighestAlarmSeverity(IltAlarmSeverity below)
Return the highest severity less than
below for which the
number of alarms, acknowledged or otherwise, is nonzero. |
IltAlarmSeverity |
internalGetHighestAlarmSeverity(IltAlarmSeverity below,
IlpFilter filter)
Return the highest severity less than
below for which the
number of alarms, acknowledged or otherwise, is nonzero, and that
satisfies a given filter. |
IltAlarmSeverity |
internalGetHighestNewAlarmSeverity()
Return the highest severity for which the number of new alarms is
nonzero.
|
IltAlarmSeverity |
internalGetHighestNewAlarmSeverity(IlpFilter filter)
Return the highest severity for which the number of new alarms is
nonzero, and that satisfies a given filter.
|
IltAlarmSeverity |
internalGetHighestNewAlarmSeverity(IltAlarmSeverity below)
Return the highest severity less than
below for which the
number of new alarms is nonzero. |
IltAlarmSeverity |
internalGetHighestNewAlarmSeverity(IltAlarmSeverity below,
IlpFilter filter)
Return the highest severity less than
below for which the
number of new alarms is nonzero, and that satisfies a given filter. |
void |
removeAcknowledgedAlarm(IltAlarmSeverity severity)
Remove one acknowledged alarm of a given severity.
|
void |
removeAllAcknowledgedAlarms()
Remove all acknowledged alarms.
|
protected void |
removeAllAcknowledgedAlarms(IlpFilter filter) |
void |
removeAllAcknowledgedAlarms(IltAlarmSeverity severity)
Remove all acknowledged alarms of a given severity.
|
void |
removeAllAlarms()
Remove all alarms.
|
protected void |
removeAllAlarms(IlpFilter filter) |
void |
removeAllNewAlarms()
Remove all new alarms.
|
protected void |
removeAllNewAlarms(IlpFilter filter) |
void |
removeAllNewAlarms(IltAlarmSeverity severity)
Remove all new alarms of the given severity.
|
void |
removeNewAlarm(IltAlarmSeverity severity)
Remove one new alarm of a given severity.
|
void |
reset()
Reset all alarms counters to zero.
|
void |
setAcknowledgedAlarmCount(IltAlarmSeverity severity,
int value)
Set the number of acknowledged alarms for a given severity.
|
void |
setNewAlarmCount(IltAlarmSeverity severity,
int value)
Sets the number of new alarms for a given severity.
|
void |
setNotifier(ilog.tgo.model.internal.IltStateValueChangeNotifier notifier)
Sets the notifier instance.
|
copy, CreateNameFilter, CreateStateFilter, createValue, getAliases, getAllPaths, getAltName, getDefault, getDescription, getName, getProperty, getStateInfo, getToolTipText, getToolTipText, hasDefault, hasDescription, hashCode, intern, isInside, IsPropertyTransient, isValid, list, removeProperty, setAltName, setDescription, setMessage, setName, setProperty, SetPropertyTransient, toString
protected ilog.tgo.model.internal.IltAggregateStateValue _alarmValues
protected ilog.tgo.model.internal.IltStateValueChangeNotifier _notifier
public State()
false
.public State(ilog.tgo.model.internal.IltAggregateStateValue value)
public abstract IltAlarmSystem getAlarmSystem()
public ilog.tgo.model.internal.IltAggregateStateValue getValue()
public void setNotifier(ilog.tgo.model.internal.IltStateValueChangeNotifier notifier)
public ilog.tgo.model.internal.IltStateValueChangeNotifier getNotifier()
protected boolean hasNotifier()
public Object clone()
public boolean equals(Object obj)
IltAlarmSystem.State
instances are considered equal if
their corresponding values are equal.public int getNewAlarmCount()
public int getNewAlarmCount(IltAlarmSeverity severity)
public void setNewAlarmCount(IltAlarmSeverity severity, int value)
public void addNewAlarm(IltAlarmSeverity severity)
public void removeNewAlarm(IltAlarmSeverity severity)
public void removeAllNewAlarms(IltAlarmSeverity severity)
public void removeAllNewAlarms()
public int getAcknowledgedAlarmCount()
public int getAcknowledgedAlarmCount(IltAlarmSeverity severity)
public void setAcknowledgedAlarmCount(IltAlarmSeverity severity, int value)
public void addAcknowledgedAlarm(IltAlarmSeverity severity)
public void removeAcknowledgedAlarm(IltAlarmSeverity severity)
public void removeAllAcknowledgedAlarms(IltAlarmSeverity severity)
public void removeAllAcknowledgedAlarms()
public int getAlarmCount()
public int getAlarmCount(IltAlarmSeverity severity)
public void acknowledgeAlarm(IltAlarmSeverity severity)
public void acknowledgeAllAlarms(IltAlarmSeverity severity)
public void acknowledgeAllAlarms()
public void removeAllAlarms()
protected void removeAllNewAlarms(IlpFilter filter)
protected void removeAllAcknowledgedAlarms(IlpFilter filter)
protected void removeAllAlarms(IlpFilter filter)
protected void acknowledgeAllAlarms(IlpFilter filter)
public void reset()
public IltAlarmSeverity internalGetHighestNewAlarmSeverity()
public IltAlarmSeverity internalGetHighestNewAlarmSeverity(IlpFilter filter)
public IltAlarmSeverity internalGetHighestNewAlarmSeverity(IltAlarmSeverity below)
below
for which the
number of new alarms is nonzero.public IltAlarmSeverity internalGetHighestNewAlarmSeverity(IltAlarmSeverity below, IlpFilter filter)
below
for which the
number of new alarms is nonzero, and that satisfies a given filter.public IltAlarmSeverity internalGetHighestAcknowledgedAlarmSeverity()
public IltAlarmSeverity internalGetHighestAcknowledgedAlarmSeverity(IlpFilter filter)
public IltAlarmSeverity internalGetHighestAcknowledgedAlarmSeverity(IltAlarmSeverity below)
below
for which the
number of acknowledged alarms is nonzero.public IltAlarmSeverity internalGetHighestAcknowledgedAlarmSeverity(IltAlarmSeverity below, IlpFilter filter)
below
for which the
number of acknowledged alarms is nonzero, and that satisfies a given
filter.public IltAlarmSeverity internalGetHighestAlarmSeverity()
public IltAlarmSeverity internalGetHighestAlarmSeverity(IlpFilter filter)
public IltAlarmSeverity internalGetHighestAlarmSeverity(IltAlarmSeverity below)
below
for which the
number of alarms, acknowledged or otherwise, is nonzero.public IltAlarmSeverity internalGetHighestAlarmSeverity(IltAlarmSeverity below, IlpFilter filter)
below
for which the
number of alarms, acknowledged or otherwise, is nonzero, and that
satisfies a given filter.protected int getCount(Object[] paths)
paths
- IltState[][], that is an array of paths.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.