public class IltSNMPObjectState extends IltObjectState implements Cloneable
It uses the elements of the IltSNMP state system, as well as
the extension provided by the IltMisc,
IltPerformance and IltSAN state systems. Trap
information is represented by the IltTrap alarm system.
This class therefore contains information about:
IltMisc,
IltPerformance and IltSAN, 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 |
|---|
IltSNMPObjectState()
Creates a new
IltSNMPObjectState with the SNMP primary state
initialized to DefaultState, and without statuses or traps. |
IltSNMPObjectState(IltSNMP.State state)
Creates a new
IltSNMPObjectState with the given primary state
value set, no statuses and no traps. |
| Modifier and Type | Method and Description |
|---|---|
void |
attach(IltObject obj)
Attaches this object state to a given business object.
|
boolean |
clear(IltState state)
Removes the given state from the object state table.
|
Object |
clone()
Returns a copy of this state object.
|
void |
detach(IltObject obj)
Detaches this object state from a given business object.
|
boolean |
equals(Object obj)
Compares this object with another object.
|
IltState |
getAlarmState()
Returns the alarms part of the state.
|
static IltSNMP.State |
GetDefaultState()
The default SNMP state for a new object.
|
IltState |
getPrimaryState()
Returns the primary state present in this object state.
|
IltSNMP.State |
getState()
Returns the SNMP primary state of the telecom object.
|
IltSNMP.SystemInfo |
getSystemInfo()
Returns the MIB-II System Group information of this managed object.
|
IltState |
getTrapState()
Returns the trap part of the state.
|
boolean |
has(IltState state)
Tests whether this state contains a given constant state (defined in
a state system).
|
void |
reset()
Removes all the states set in the object state.
|
boolean |
set(IltState state)
Sets the given state in the object state table.
|
static void |
SetDefaultState(IltSNMP.State state)
Sets the default primary state for a new object.
|
void |
setState(IltSNMP.State state)
Sets the SNMP primary state of the telecom object.
|
void |
setSystemInfo(IltSNMP.SystemInfo info)
Sets the MIB-II System Group information of this managed object.
|
void |
setTrapState(IltTrap.State state)
Sets the alarm state instance.
|
addObjectStateListener, clear, endChangingObjectState, fireObjectStateChanged, fireObjectStateSet, get, get, getAggregate, getAggregate, getAlarmSystem, getAttributeValue, getBoolean, getBoolean, getFloat, getFloat, getInteger, getInteger, getListStrategy, getMapStrategy, getObjectStateInfo, 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, valuespublic static IltObjectStateInfo metainfo
IltObjectState class.public IltSNMPObjectState(IltSNMP.State state)
IltSNMPObjectState with the given primary state
value set, no statuses and no traps.public IltSNMPObjectState()
IltSNMPObjectState with the SNMP primary state
initialized to DefaultState, and without statuses or traps.public static IltSNMP.State GetDefaultState()
public static void SetDefaultState(IltSNMP.State state)
reset or a clear
using the primary state.public Object clone()
clone in class IltObjectStatepublic boolean equals(Object obj)
equals in class IltObjectStatepublic IltSNMP.State getState()
public void setState(IltSNMP.State state)
public IltState getAlarmState()
getAlarmState in class IltObjectStatenullpublic IltState getTrapState()
getTrapState in class IltObjectStateIltTrap.Statepublic void setTrapState(IltTrap.State state)
public IltSNMP.SystemInfo getSystemInfo()
public void setSystemInfo(IltSNMP.SystemInfo info)
public boolean has(IltState state)
IltObjectStatehas in interface ilog.tgo.model.internal.IltStateValueCollectionhas in class IltObjectStatestate - State being tested.true when the given state is part of the collection.public boolean set(IltState state)
set in class IltObjectStatepublic boolean clear(IltState state)
clear in interface ilog.tgo.model.internal.IltStateValueCollectionclear in class IltObjectStatestate - State to be removed.true when the operation resulted in a modification of
the collection.public void reset()
reset in class IltObjectStatepublic IltState getPrimaryState()
getPrimaryState in class IltObjectStatepublic void attach(IltObject obj)
IltObjectStateattach in class IltObjectStateIltObject.setObjectState(IltObjectState)public void detach(IltObject obj)
IltObjectStatedetach in class IltObjectStateIltObject.setObjectState(IltObjectState)© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.