public class IltBooleanState extends IltSimpleState
Instances of this class should only be set together with an associated
value. The value must be of type boolean
or
Boolean
.
When instances of this class are created, it is possible to define default values, so that when a certain telecom object instance is created and uses a certain state model which contains this simple state, the default value is automatically assigned to the object.
Internal use only.
Modifier and Type | Field and Description |
---|---|
static IltStateInfo |
metainfo
Contains metainformation about this
IltNumericState class. |
Constructor and Description |
---|
IltBooleanState(String name,
String description,
String message)
Creates an
IltBooleanState . |
IltBooleanState(String name,
String description,
String message,
boolean defaultValue)
Creates an
IltBooleanState . |
Modifier and Type | Method and Description |
---|---|
boolean |
isValid(Object value)
This method verifies if the given value can be set in the state.
|
void |
list(IlpContext context,
IltStateListing listing,
Object value)
Generates a plain text listing of a state.
|
createValue, getDefault, hasDefault, setDefault
copy, CreateNameFilter, CreateStateFilter, equals, getAliases, getAllPaths, getAltName, getDescription, getName, getProperty, getStateInfo, getToolTipText, getToolTipText, hasDescription, hashCode, intern, isInside, IsPropertyTransient, removeProperty, setAltName, setDescription, setMessage, setName, setProperty, SetPropertyTransient, toString
public static IltStateInfo metainfo
IltNumericState
class.public IltBooleanState(String name, String description, String message, boolean defaultValue)
IltBooleanState
.description
- textual description of this state.defaultValue
- optional attribute which defines a default value for this state.public boolean isValid(Object value)
true
.public void list(IlpContext context, IltStateListing listing, Object value)
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.