|
||||||||||
| 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.IltSONETObjectState
ilog.tgo.model.IltBiSONETObjectState
public class IltBiSONETObjectState
IltBiSONETObjectState instances store the state of telecom
objects that follow the SONET dictionary modeled by the IltSONET
state system.
It is particularly suitable for links which have one state for each
direction of traffic. They also use the alarm model provided by the
IltAlarm state system.
The IltBiSONETObjectState class therefore holds
five attributes:
IltSONET.State instances, one for the direct
(from-to-to direction) state and one for the
reverse (to-to-from direction) state,IltSONET.Protection
instance,IltAlarm.State
instance.The direct SONET state is considered the main state of the object.
Therefore, it is the state accessed by the inherited generic methods
set, get, and has as well as
getState and setState. To change the reverse state,
two new methods are provided: getReverseState and
setReverseState.
The graphical representation of links with this object state
is computed as follows:
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 | |
|---|---|
IltBiSONETObjectState()
Creates an instance IltBiSONETObjectState with the default
values. |
|
IltBiSONETObjectState(IltSONET.State state,
IltSONET.State reverseState)
Creates an instance of IltBiSONETObjectState with the given
SONET states. |
|
| Method Summary | |
|---|---|
Object |
clone()
Returns a copy of this IltBiSONETObjectState instance. |
static IltSONET.State |
GetDefaultReverseState()
Returns the default BiSONET reverse state for a new object. |
IltSONET.State |
getReverseState()
Returns the SONET reverse state of the telecom object. |
void |
reset()
Resets this object state. |
static void |
SetDefaultReverseState(IltSONET.State state)
Sets the default BiSONET reverse state for a new object. |
void |
setReverseState(IltSONET.State reverseState)
Sets the SONET reverse state of the telecom object to reverseState. |
| Methods inherited from class ilog.tgo.model.IltSONETObjectState |
|---|
addProtection, clear, getAlarmState, GetDefaultState, getFromProtections, getPrimaryState, getProtections, getState, getToProtections, has, hasProtection, removeAllProtections, removeProtection, set, setAlarmState, SetDefaultState, setProtections, setState |
| 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 IltBiSONETObjectState(IltSONET.State state,
IltSONET.State reverseState)
IltBiSONETObjectState with the given
SONET states.
The following values are used:
an IltAlarm.State instance initialized with its
default values, that is, no alarms.
state - SONET state for the direct state of the link.reverseState - SONET state for the reverse state of the link.public IltBiSONETObjectState()
IltBiSONETObjectState with the default
values.
The following values are used:
IltSONETObjectState.DefaultState (in the default
implementation, this value is
IltSONET.State.Inactive), DefaultReverseState (in the default
implementation, this value is
IltSONET.State.Inactive), IltAlarm.State instance initialized with its
default values, that is, no alarms.
| Method Detail |
|---|
public static IltSONET.State GetDefaultReverseState()
public static void SetDefaultReverseState(IltSONET.State state)
reset or a clear
using the primary state.
public Object clone()
IltBiSONETObjectState instance.
clone in class IltSONETObjectStatepublic IltSONET.State getReverseState()
public void setReverseState(IltSONET.State reverseState)
reverseState.
public void reset()
reset in class IltSONETObjectState
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||