public final class BooleanStructure extends OSTypeStructure
The boolean structure.
Modifier and Type | Field and Description |
---|---|
static int |
STRUCTURE_KEY
Identifies the structure key.
|
Constructor and Description |
---|
BooleanStructure(ClassID keyName)
Initializes a new instance of the
BooleanStructure class. |
Modifier and Type | Method and Description |
---|---|
int |
getKey()
Gets the structure key.
|
int |
getLength()
Gets the
OSTypeStructure length in bytes. |
boolean |
getValue()
Gets or sets a boolean value.
|
void |
setValue(boolean value) |
getHeaderLength, getKeyName, save, saveWithoutKeyName, setKeyName
public static final int STRUCTURE_KEY
Identifies the structure key.
public BooleanStructure(ClassID keyName)
Initializes a new instance of the BooleanStructure
class.
keyName
- The key name.public int getKey()
Gets the structure key.
getKey
in class OSTypeStructure
public boolean getValue()
Gets or sets a boolean value.
Value: A boolean value.public void setValue(boolean value)
public int getLength()
Gets the OSTypeStructure
length in bytes.
getLength
in class OSTypeStructure