|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.tgo.model.IltObjectState
ilog.tgo.model.IltSNMPObjectState
public class IltSNMPObjectState
This class defines the state of a telecom object, according to the MIB-II specification for the SNMP protocol.
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| Field Summary | |
|---|---|
static IltObjectStateInfo |
metainfo
Contains metainformation about this IltObjectState class. |
| Fields inherited from interface ilog.cpl.model.internal.IlpCompositeAttributeValue |
|---|
ATTRIBUTE_NAME_DELIMITER |
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static IltObjectStateInfo metainfo
IltObjectState class.
| Constructor Detail |
|---|
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.
| Method Detail |
|---|
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)
IltObjectState
has 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)
IltObjectState
attach in class IltObjectStateIltObject.setObjectState(IltObjectState)public void detach(IltObject obj)
IltObjectState
detach in class IltObjectStateIltObject.setObjectState(IltObjectState)
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||