de.xabsl.jxabslx.symbols
Class BooleanInputSymbolImpl

java.lang.Object
  extended by de.xabsl.jxabslx.symbols.InputSymbolImpl
      extended by de.xabsl.jxabslx.symbols.BooleanInputSymbolImpl
All Implemented Interfaces:
BooleanInputSymbol

public class BooleanInputSymbolImpl
extends InputSymbolImpl
implements BooleanInputSymbol

An implementation for a boolean input symbol. Takes its values from an Input object and converts it via a BooleanConversion


Field Summary
 
Fields inherited from class de.xabsl.jxabslx.symbols.InputSymbolImpl
input, parameters
 
Constructor Summary
BooleanInputSymbolImpl(Input input, BooleanConversion conversion, java.lang.String[] parameterNames, Symbols symbols, DebugMessages debug)
          Constructor.
 
Method Summary
 boolean getValue()
          Returns the symbol's value.
 
Methods inherited from class de.xabsl.jxabslx.symbols.InputSymbolImpl
checkConstructorArguments, createParameters, getParameters, getRawValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.xabsl.jxabsl.symbols.BooleanInputSymbol
getParameters
 

Constructor Detail

BooleanInputSymbolImpl

public BooleanInputSymbolImpl(Input input,
                              BooleanConversion conversion,
                              java.lang.String[] parameterNames,
                              Symbols symbols,
                              DebugMessages debug)
Constructor.

Parameters:
input - A value comes from here
conversion - Is converted via this conversion
parameterNames - parameter names in the correct order
symbols - the symbols of the engine
debug - for debugging output
Method Detail

getValue

public boolean getValue()
Description copied from interface: BooleanInputSymbol
Returns the symbol's value. Before calling this function, obtain the parameters via getParameters() and set the parameter values

Specified by:
getValue in interface BooleanInputSymbol
Returns:
the symbol's value