de.xabsl.jxabslx.symbols
Class BooleanOutputSymbolImpl
java.lang.Object
de.xabsl.jxabslx.symbols.BooleanOutputSymbolImpl
- All Implemented Interfaces:
- BooleanOutputSymbol
public class BooleanOutputSymbolImpl
- extends java.lang.Object
- implements BooleanOutputSymbol
An implementation for a boolean output symbol. Takes its values from an Input
object, writes values via an Output object and converts via a
BooleanConversion.
Method Summary |
boolean |
getValue()
|
void |
setValue(boolean value)
Sets the symbol's value |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BooleanOutputSymbolImpl
public BooleanOutputSymbolImpl(Output output,
Input input,
BooleanConversion conversion,
DebugMessages debug)
- Constructor
- Parameters:
output
- a value goes hereinput
- a value comes from hereconversion
- is converted via this conversiondebug
- for debugging output
getValue
public boolean getValue()
- Specified by:
getValue
in interface BooleanOutputSymbol
- Returns:
- the symbol's value
setValue
public void setValue(boolean value)
- Description copied from interface:
BooleanOutputSymbol
- Sets the symbol's value
- Specified by:
setValue
in interface BooleanOutputSymbol
- Parameters:
value
- the symbols new value