public class IltTrapObjectState extends IltObjectState implements Cloneable
It uses the alarm system provided by the IltTrap
state
system.
This class therefore contains one attribute:
IltTrap.State
instance. for the corresponding XML format
Modifier and Type | Field and Description |
---|---|
static IltObjectStateInfo |
metainfo
Contains metainformation about this
IltObjectState class. |
Constructor and Description |
---|
IltTrapObjectState()
Creates a new
IltTrapObjectState with no alarms. |
Modifier and Type | Method and Description |
---|---|
boolean |
clear(IltState state)
Removes a given constant state (defined in a state system) from
this state.
|
Object |
clone()
Returns a copy of this state object.
|
IltState |
getAlarmState()
Returns the alarms part of the state.
|
IltState |
getTrapState()
Returns the traps part of the state.
|
boolean |
has(IltState state)
Tests whether this state contains a given constant state (defined in
a state system).
|
static void |
InitStrategies()
Sets the map and list strategies to their default values.
|
void |
reset()
Resets all the state values for the telecom object.
|
boolean |
set(IltState state)
Adds a given constant state (defined in a state system) to this
state.
|
void |
setTrapState(IltTrap.State state)
Sets the trap state instance.
|
addObjectStateListener, attach, clear, detach, endChangingObjectState, equals, fireObjectStateChanged, fireObjectStateSet, get, get, getAggregate, getAggregate, getAlarmSystem, getAttributeValue, getBoolean, getBoolean, getFloat, getFloat, getInteger, getInteger, getListStrategy, getMapStrategy, getObjectStateInfo, getPrimaryState, getStateSystem, getStateValueTable, getSymbolic, getSymbolic, has, inverseStates, inverseValues, isValid, list, map, removeObjectStateListener, set, set, setAggregate, setAggregate, setAlarmSystem, setBoolean, setBoolean, setFloat, setFloat, setInteger, setInteger, setListStrategy, setMapStrategy, setStateSystem, setSymbolic, setSymbolic, severityAdded, severityRemoved, startChangingObjectState, stateAdded, stateRemoved, states, stateSystemAdded, stateSystemRemoved, values
public static IltObjectStateInfo metainfo
IltObjectState
class.public IltTrapObjectState()
IltTrapObjectState
with no alarms.public Object clone()
clone
in class IltObjectState
public IltState getAlarmState()
getAlarmState
in class IltObjectState
null
public IltState getTrapState()
getTrapState
in class IltObjectState
IltTrap.State
public void setTrapState(IltTrap.State state)
public boolean has(IltState state)
IltObjectState
has
in interface ilog.tgo.model.internal.IltStateValueCollection
has
in class IltObjectState
state
- State being tested.true
when the given state is part of the collection.public boolean set(IltState state)
IltObjectState
set
in class IltObjectState
public boolean clear(IltState state)
IltObjectState
clear
in interface ilog.tgo.model.internal.IltStateValueCollection
clear
in class IltObjectState
state
- State to be removed.true
when the operation resulted in a modification of
the collection.public void reset()
IltObjectState
reset
in class IltObjectState
public static void InitStrategies()
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.