de.xabsl.jxabslx.symbols
Class BooleanOutputSymbolImpl

java.lang.Object
  extended by 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.


Constructor Summary
BooleanOutputSymbolImpl(Output output, Input input, BooleanConversion conversion, DebugMessages debug)
          Constructor
 
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
 

Constructor Detail

BooleanOutputSymbolImpl

public BooleanOutputSymbolImpl(Output output,
                               Input input,
                               BooleanConversion conversion,
                               DebugMessages debug)
Constructor

Parameters:
output - a value goes here
input - a value comes from here
conversion - is converted via this conversion
debug - for debugging output
Method Detail

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