public static class IltOSI.State extends IltState implements Cloneable
The operational aspect of a state (or, simply,
the operational state) is described by one of the two values
Disabled or Enabled; these values are defined in the
IltOSI.State.Operational
class.
The usage aspect of a state (or, simply, the usage state) is
described by one of the Idle, Active or Busy values;
these values are defined in the IltOSI.State.Usage
class.
The administrative aspect of a state (or, simply, administrative
state) is described by one of the Unlocked, Shutting Down or Locked
values; these values are defined in the
IltOSI.State.Administrative
class.
The IltOSI.State class therefore contains three attributes containing the values of these three classes.
Modifier and Type | Class and Description |
---|---|
static class |
IltOSI.State.Administrative |
static class |
IltOSI.State.Operational |
static class |
IltOSI.State.Usage |
Modifier and Type | Field and Description |
---|---|
static IltStateInfo |
metainfo
Contains metainformation about this
IltState class. |
Constructor and Description |
---|
State(ilog.tgo.model.internal.IltAggregateStateValue value)
Creates a new instance with given attributes.
|
State(IltOSI.State.Operational opState,
IltOSI.State.Usage usState,
IltOSI.State.Administrative admState)
Creates a new instance with given attributes.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Returns a copy of this object.
|
boolean |
equals(Object obj)
Compares two objects for equality.
|
IltOSI.State.Administrative |
getAdministrativeState()
Returns the administrative status of this instance.
|
IltOSI.State.Operational |
getOperationalState()
Returns the operational status of this instance.
|
IltOSI.State.Usage |
getUsageState()
Returns the usage status of this instance.
|
ilog.tgo.model.internal.IltAggregateStateValue |
getValue() |
void |
list(IlpContext context,
IltStateListing listing,
Object value)
Generates a plain text listing of the state.
|
void |
setAdministrativeState(IltOSI.State.Administrative admState)
Sets the administrative status of this instance.
|
void |
setNotifier(ilog.tgo.model.internal.IltStateValueChangeNotifier notifier)
Sets the notifier instance.
|
void |
setOperationalState(IltOSI.State.Operational opState)
Sets the operational status of this instance.
|
void |
setUsageState(IltOSI.State.Usage usState)
Sets the usage status of this instance.
|
copy, CreateNameFilter, CreateStateFilter, createValue, getAliases, getAllPaths, getAltName, getDefault, getDescription, getName, getProperty, getStateInfo, getToolTipText, getToolTipText, hasDefault, hasDescription, hashCode, intern, isInside, IsPropertyTransient, isValid, removeProperty, setAltName, setDescription, setMessage, setName, setProperty, SetPropertyTransient, toString
public static IltStateInfo metainfo
IltState
class.public State(IltOSI.State.Operational opState, IltOSI.State.Usage usState, IltOSI.State.Administrative admState)
opState
- the operational aspectusState
- the usage aspectadmState
- the administrative aspectpublic State(ilog.tgo.model.internal.IltAggregateStateValue value)
public ilog.tgo.model.internal.IltAggregateStateValue getValue()
public void setNotifier(ilog.tgo.model.internal.IltStateValueChangeNotifier notifier)
public IltOSI.State.Operational getOperationalState()
public void setOperationalState(IltOSI.State.Operational opState)
public IltOSI.State.Usage getUsageState()
public void setUsageState(IltOSI.State.Usage usState)
public IltOSI.State.Administrative getAdministrativeState()
public void setAdministrativeState(IltOSI.State.Administrative admState)
public void list(IlpContext context, IltStateListing listing, Object value)
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.